FlexGrid again
-
HI I use (Microsoft FlexGrid Control, version 6.0) which is active x control . It’s very useful, but some member functions are unclear . Now I’m interested in how useing two functions and maybe they will be the keys of the rest functions . 1 – void AddItem(LPCTSTR Item, const VARIANT& index) to add new rwo BUT HOW??? 2 - long GetRowData(long index) to get data from specific row BUT HOW??? I put this qustion befor and one told me look for (MsFlxGrd.hlp) I tried to find it but there is no file like this Thank you very much … AHMAD ALWASHALI
-
HI I use (Microsoft FlexGrid Control, version 6.0) which is active x control . It’s very useful, but some member functions are unclear . Now I’m interested in how useing two functions and maybe they will be the keys of the rest functions . 1 – void AddItem(LPCTSTR Item, const VARIANT& index) to add new rwo BUT HOW??? 2 - long GetRowData(long index) to get data from specific row BUT HOW??? I put this qustion befor and one told me look for (MsFlxGrd.hlp) I tried to find it but there is no file like this Thank you very much … AHMAD ALWASHALI
AddItem insert the text in the FixedRow for example: AddItem("nnnn", 2) insert the text in the second row of the fixed column If you want to insert data in a FlexGrid you need to set teh Row (SetRow), then the column (SetCol) and then SetText for insert the text in that Row and column. If you need to read you can use the function GetText. Good Luck :bob: Carlos Antollini.
-
HI I use (Microsoft FlexGrid Control, version 6.0) which is active x control . It’s very useful, but some member functions are unclear . Now I’m interested in how useing two functions and maybe they will be the keys of the rest functions . 1 – void AddItem(LPCTSTR Item, const VARIANT& index) to add new rwo BUT HOW??? 2 - long GetRowData(long index) to get data from specific row BUT HOW??? I put this qustion befor and one told me look for (MsFlxGrd.hlp) I tried to find it but there is no file like this Thank you very much … AHMAD ALWASHALI
AddItem insert the text in the FixedRow for example: AddItem("nnnn", 2) insert the text in the second row of the fixed column If you want to insert data in a FlexGrid you need to set teh Row (SetRow), then the column (SetCol) and then SetText for insert the text in that Row and column. If you need to read you can use the function GetText. Good Luck Carlos Antollini.