Welcome to the Project Developers' Table

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post 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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: Welcome to the Project Developers' Table

Post 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!
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: Welcome to the Project Developers' Table

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: Welcome to the Project Developers' Table

Post 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!
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

Sorry Roberto. Please check now.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

Great Roberto!

Thanks for the menu control!
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: Welcome to the Project Developers' Table

Post 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 ({||}).
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: Welcome to the Project Developers' Table

Post by sudip »

Fantastic!!! :D
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?
With best regards,
Sudip
User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post 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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

sudip wrote:Fantastic!!! :D
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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply