Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrambling and grid
Message
De
17/07/2002 04:08:00
 
 
À
17/07/2002 03:46:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00679480
Message ID:
00679508
Vues:
15
You can hardly belieive that but

>Some other approaches would work too :
>-Unscramble in myprocs.prg
>set procedure to myprocs.prg additive

doesn't work

>-Unscramble is a form method
>controlsource = '(thisform.Unscramble(...

yes, it does

>-Unscramble is in a custom class
>controlsource = '(thisform.myCustom.Unscramble(...

didn't check , but probably will.



>
>
>>Cetin,
>>
>>Thanks for the hint. I made it work but under one strange constraint. Function unscramble must be a separate unscramble.prg file. All other approaches don't work ( having unscramble in startup main.prg for the project or utilities.prg with 'set procedure to utilities.prg' in main.prg )
>>Complaint "file unscramble.prg' does not exist" and even when suspended show method is scrambled :) when I simplified it to
>>
>>.grid1.column1.CONTROLSOURCE = '(unscramble( mytable.descript )) '
>>
>>>Add parentheses and quotes.
>>>
>>>.grid1.column1.CONTROLSOURCE = ;
>>> '( unscramble('+ THISFORM.booktable+'.descript  ) )'
>>>
Cetin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform