Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I modify a grid's method in runtime?
Message
From
22/03/2000 01:06:43
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00348182
Message ID:
00348736
Views:
29
Thank you very much Nadya.

>Hello Sung
>
>See thread Grid (rows Click() event ) Thread #348655 for ideas.
>HTH
>
>>
>>Thank you vaery much Robin
>>
>>What I like to do is when a user select a report in a listbox, the grid is automatically changed its' properties with same commands (e.g. Click method of Header1 : messaagebox('ok')) in its' method.
>>But the grid lost commands whenevr I changed it's properties.
>>Is there any way that I can keep commands when I change a grid's properties?
>>
>>Wrting clear English sentence is another barrier to me but you know what I mean.
>>
>>>Are you closing the RecordSource for the grid? Closing the alias, cursor, output from SQL whatever the RecordSource will make the grid appear completely empty. If you need to re-popuplate the Recordsource, don't close it, do something like:
>>>
>>>Thisform.lockscreen = .T.
>>>select Aliasname && RecordSource
>>>Zap
>>>append from Table
>>>Thisform.lockscreen = .F.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform