Page 14 of 106
Re: Welcome to the Project Developers' Table
Posted: Sun Aug 29, 2010 1:33 pm
by Rathinagiri
Hi friends,
Today is a GRID day for me.
I have uploaded Grid control with many properties implemented and I am continuing to implement events and methods.
The list of implemented properties:
- Value
- Enabled
- Visible
- Row
- Col
- Width
- Height
- FontName
- FontSize
- FontBold
- FontItalic
- FontUnderline
- FontStrikeout
- ToolTip
- BackColor
- FontColor
- Widths (D)
- Headers (D)
- Items (D)
- Cell ( nRow , nCol )
- ItemCount
- Item ( nItemIndex )
- NoLines (D)
- Header (nColumnNumber)
- MultiSelect (D)
- CellNavigation (D)
The advantage of QT is, "there is nothing called properties available only at the time of definition. They are available at the run time too!"
Kindly check up the demo.
Re: Welcome to the Project Developers' Table
Posted: Sun Aug 29, 2010 1:58 pm
by Roberto Lopez
rathinagiri wrote:Hi friends,
Today is a GRID day for me.
I have uploaded Grid control with many properties implemented and I am continuing to implement events and methods.
The list of implemented properties:
- Value
- Enabled
- Visible
- Row
- Col
- Width
- Height
- FontName
- FontSize
- FontBold
- FontItalic
- FontUnderline
- FontStrikeout
- ToolTip
- BackColor
- FontColor
- Widths (D)
- Headers (D)
- Items (D)
- Cell ( nRow , nCol )
- ItemCount
- Item ( nItemIndex )
- NoLines (D)
- Header (nColumnNumber)
- MultiSelect (D)
- CellNavigation (D)
The advantage of QT is, "there is nothing called properties available only at the time of definition. They are available at the run time too!"
Kindly check up the demo.
WOW!!!!
GREAT!
Re: Welcome to the Project Developers' Table
Posted: Sun Aug 29, 2010 2:02 pm
by Roberto Lopez
rathinagiri wrote:I have uploaded Grid control with many properties implemented and I am continuing to implement events and methods.

<...>
I'm not able to compile the demos. I get the error LOCAL DECLARATION FOLLOWS... at many lines.
The problem is in grid.prg and affects all demos.
The first problem arises at line #208 of grid.
Re: Welcome to the Project Developers' Table
Posted: Sun Aug 29, 2010 2:07 pm
by Roberto Lopez
Hi team,
I've finished main menu.
It is fully compatible with standard HMG and all properties are available at runtime.
There is a nice extension, the 'visible' property.
You can hide and show an item at control creation and runtime.
Please, check it!
Re: Welcome to the Project Developers' Table
Posted: Sun Aug 29, 2010 2:09 pm
by Rathinagiri
Sorry Roberto. Please check now.
Re: Welcome to the Project Developers' Table
Posted: Sun Aug 29, 2010 2:10 pm
by Rathinagiri
Great Roberto!
Thanks for the menu control!
Re: Welcome to the Project Developers' Table
Posted: Sun Aug 29, 2010 2:18 pm
by Roberto Lopez
Roberto Lopez wrote:The first problem arises at line #208 of grid.
And look at Grid's demo_3. Please remember that when using alternate syntax yoy can omit the codeblock syntax ({||}).
Re: Welcome to the Project Developers' Table
Posted: Sun Aug 29, 2010 2:30 pm
by sudip
Fantastic!!!

Thanks a lot.
BTW, OnClick event of button is not working. I found it when tried with Textbox sample demo_1. Then I tried with button demos also. Is there any problem from my side during compilation?
Re: Welcome to the Project Developers' Table
Posted: Sun Aug 29, 2010 5:23 pm
by Rathinagiri
Hi friends,
Now the following properties/events/methods are also working for grid.
Properties:
- ShowHeaders
- AllowEdit
Events:
- OnChange
- OnDblClick
Methods:
- AddItem ( acItemText )
- DeleteItem ( nItemIndex )
- DeleteAllItems
- AddColumn ( [ nColIndex ] , [ cCaption ] , [ nWidth ] , [ nJustify ] )
- DeleteColumn ( nColIndex )
Kindly check Demo_2 or Demo_3. Thanks a lot Roberto for implementing Menu control. This helps to create demo easily! I think menu definition is some what hard in OOP syntax. So, I kept the demo_1 as it is.
Re: Welcome to the Project Developers' Table
Posted: Sun Aug 29, 2010 5:32 pm
by Rathinagiri
sudip wrote:Fantastic!!!

Thanks a lot.
BTW, OnClick event of button is not working. I found it when tried with Textbox sample demo_1. Then I tried with button demos also. Is there any problem from my side during compilation?
Hi Sudip,
I think it works well. You can try using demo_1 of grid.