Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Columns without controls.
Message
De
31/10/2003 13:47:02
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
31/10/2003 11:47:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00845057
Message ID:
00845138
Vues:
15
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform