Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid & Memo and other problems...
Message
From
08/06/1999 18:13:26
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00227549
Message ID:
00227725
Views:
39
>Hi Edward,
>
>>You may add Editbox to your form and have:
>>Thisform.Myeditbox.value=mytable.mymemofield
>
>
> Yes, I did it this way - more simple and my manager also reccomended it.
> I set ControlSource of editbox to my memofield and do ThisForm.myeditbox.Refresh() in afterrowcolchange event.
>
> May be in the future I'll try to realize my other ideas (more complex), but now I am satisfied with this solution.
>
>>in grid.afterrowcolchange event. Surely, you may provide user with a tool (button) to make editbox visible/invisible.
>>Again,, I would recommend you to put memo content to grid.column.textbox, so user will always see, let say, 20 first chars, and get others by toggling Editbox.Visible property.
>
> This way is a little bit more complex...

This is not complex at all:
Mygrid.Mycolumn.Controlsource="''+mytable.mymemofield"

>
> How about displaying Y/N instead of T/F in logical fields? All my grids are ReadOnly.

It's simple too, I saw that Bruce told you this thing:
Mygrid.Mycolumn.Controlsource="''+IIF(mytable.myfield=.T.,'Y','N')"
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform