Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Color Problems
Message
From
24/07/2006 09:54:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01139110
Message ID:
01139149
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
>Cetin:
>
>Thank you, but I am aware of that problem and I do have the recordsource = 0 not "" in the code everytime I modify the table that the grid have reference. Normally when that happend you lost everything including your heading. Please let me know if that true. I dont want to sound like difficult. But it is possible to lose some values and other not.

No you're right. I didn't see a partial loss. Then maybe there is a SetAll() call or something like a loop removing/overwriting it.
This would be somewhat awkward way to trace it but you might try to locate where it's happening:

messagebox(Program()+chr(13)+thisform.myPageFrame.myPage.MyGrid.MyColumn.DynamicBackColor))

and put it in:
grid.init
page.init
pageframe.init
form.init
form.activate

and mayb other places too if that doesn't help to narrow down (or a single entry in watch window with different breakpoints).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform