Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrambling and grid
Message
From
17/07/2002 04:08:00
 
 
To
17/07/2002 03:46:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00679480
Message ID:
00679508
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform