Ignore:
Timestamp:
05/11/06 12:35:53 (18 years ago)
Author:
smasson
Message:

debug + new xxx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ToBeReviewed/WIDGET/AUTOUR_de_XXX/updatewidget.pro

    r49 r69  
    1818   ENDELSE 
    1919;-------------- 
    20 ; domaine 
     20; domain 
    2121;-------------- 
    2222   boxzoom = (extractatt(top_uvalue, 'domaines'))[*, numdessinin] 
     
    2424   if keyword_set(noboxzoom) then boxzoom = 0 
    2525;-------------- 
    26 ; champ: filename & nomvar 
     26; varinfo: filename & namevar 
    2727;-------------- 
    28    champ = (extractatt(top_uvalue,  'champs'))[*, numdessinin] 
    29    filename = champ[0] & nomvar = champ[1] 
     28   varinfo = (extractatt(top_uvalue, 'varinfo'))[*, numdessinin] 
     29   filename = varinfo[0] & nomvar = varinfo[1] 
    3030; 
    3131   if filename NE '' OR nomvar NE '' THEN BEGIN 
     
    5454   endif 
    5555;-------------- 
    56 ; nomexp 
     56; text command 
    5757;-------------- 
    58    nomexp = (extractatt(top_uvalue,  'prefixes'))[numdessinin] 
    59    if nomexp NE '' then begin 
    60       nomexpid = widget_info(base, find_by_uname = 'nom_exp') 
    61       widget_control, nomexpid, set_value = nomexp 
     58   txtcmd = (extractatt(top_uvalue,  'txtcmd'))[numdessinin] 
     59   if txtcmd NE '' then begin 
     60      txtcmdid = widget_info(base, find_by_uname = 'txtcmd') 
     61      widget_control, txtcmdid, set_value = txtcmd 
    6262   endif 
    6363;-------------- 
     
    6868      if graphtype NE '' then begin 
    6969         actionid = widget_info(base,find_by_uname = 'action') 
    70          widget_control, actionid, get_uvalue = action_uvalue 
    71          widget_control, actionid, set_droplist_select = (where(action_uvalue.choix EQ graphtype))[0] 
     70         widget_control, actionid, get_value = action_value 
     71         widget_control, actionid, set_combobox_select = (where(action_value EQ graphtype))[0] 
    7272      endif 
    7373   endif 
Note: See TracChangeset for help on using the changeset viewer.