Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with a grid
Message
De
23/12/2003 09:30:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/12/2003 08:58:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00861571
Message ID:
00861587
Vues:
21
>this is the code to initialize the grid
>
>and i get this error
>
>Err.mess.:Unknown member CMBPRICE.
>why???
>the control exist
>
>WITH THISFORM.WSgrid1
> .recordsource = "CURSOR_DETAIL"
> .columncount = 5
> .Column1.Header1.caption = "Type"
> .Column2.Header1.caption = "Qty"
> .Column3.Header1.caption = "Section"
> .Column4.Header1.caption = "Item"
> .Column5.Header1.caption = "Square Feet"
>
> .column1.width = 216
> .column2.width = 108
> .column3.width = 108
> .column4.width = 216
> .column5.width = 100
>
> .Column1.ControlSource = "CURSOR_DETAIL.action"
> .Column2.ControlSource = "CURSOR_DETAIL.qty"
> .Column3.ControlSource = "CURSOR_DETAIL.secTion"
> .Column4.ControlSource = "CURSOR_DETAIL.ITEM_CODE"
> .Column5.ControlSource = "CURSOR_DETAIL.squarefeet"
>
>
>
> .Column1.CMBPRICE.RowSource = "VCONTCODE.TYPETRX,DESCR"
> .COLUMN1.CMBPRICE.RowSourceType = 6
>
>
>
> .COLUMN1.Alignment = 0
> *.COLUMN1.TEXT1.Alignment = 0
>ENDWITH

According to this code it doesn't exist. Where is the code that adds cmbPrice object to column1 ?
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform