Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Columns without controls.
Message
From
31/10/2003 13:47:02
 
 
To
31/10/2003 11:47:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00845057
Message ID:
00845138
Views:
14
Fabio-

>before VFP8 was possible build a column with only a header.
>
>If i try this on VFP8,
>
>VFP add one text1 control any time you open the grid on design env;
>if you reopen the grid 20 times, you have 20 text1 control on the column.
>
I'm not able to duplicate this problem. Here's what I tried
CLOSE TABLES ALL
USE (HOME()+"SAMPLES\TASTRADE\DATA\CUSTOMER.DBF")
DELETE FILE EmptyColumnExample.sc?
CREATE FORM EmptyColumnExample NOWAIT
LOCAL laObj[1]
ASELOBJ('laObj',1)
WITH laObj[1]
  .ADDOBJECT('Grid','Grid')
  WITH .GRID
    .RECORDSOURCETYPE = 0
    .COLUMNCOUNT = 1
    WITH .COLUMNS(1)
      .REMOVEOBJECT('Text1')
    ENDWITH
  ENDWITH
  .ACTIVATE
ENDWITH
KEYBOARD '{CTRL-W}'
MODIFY FORM EmptyColumnExample
>You ask me why i use a column withou text control ?
>simple, because for a readonly grid it is fast a sure ( on VFP7 ) and simple to uses.

You don't have to tell me < g >. I do this myself occasionally.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform