Dear all:
I try setproperty(Window's name,Control's name,Property's name,value) and failed.
Is that possible to do that ?
Best Regards
chen min
Is possible to change widths of GRID after definiation?
Moderator: Rathinagiri
-
huangchenmin
- Posts: 157
- Joined: Mon Jun 07, 2010 2:24 am
Is possible to change widths of GRID after definiation?
Last edited by huangchenmin on Thu Jun 14, 2012 1:55 am, edited 1 time in total.
- danielmaximiliano
- Posts: 2763
- Joined: Fri Apr 09, 2010 4:53 pm
- DBs Used: DBF
- Location: Argentina
- Contact:
Re: Is possible to change widths og GRID after definiation?
Hi Che:huangchenmin wrote:Dear all:
I try setproperty(Window's name,Control's name,Property's name,value) and failed.
Is that possible to do that ?
Best Regards
chen min
post an example to avoid errors of interpretation
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
- danielmaximiliano
- Posts: 2763
- Joined: Fri Apr 09, 2010 4:53 pm
- DBs Used: DBF
- Location: Argentina
- Contact:
Re: Is possible to change widths og GRID after definiation?
Properties Available For OnDblClick Procedure:danielmaximiliano wrote:Hi Che:huangchenmin wrote:Dear all:
I try setproperty(Window's name,Control's name,Property's name,value) and failed.
Is that possible to do that ?
Best Regards
chen min
post an example to avoid errors of interpretation
- This.CellRowIndex
- This.CellColIndex
- This.CellRow
- This.CellCol
- This.CellWidth
- This.CellHeight
- Note: These properties are not available when OnDblClick procedure
is fired by <Enter> key pressing.
file:///C:/hmg.3.0.40/doc/data/index.htm
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
Re: Is possible to change widths og GRID after definiation?
Dear Che:
if you want to change widths of columns, it is possible only in this way:
you can release grid control and rebuild it with new definition.
"Widths" is available at control definition only
Marek
if you want to change widths of columns, it is possible only in this way:
you can release grid control and rebuild it with new definition.
"Widths" is available at control definition only
Marek
-
huangchenmin
- Posts: 157
- Joined: Mon Jun 07, 2010 2:24 am
Re: Is possible to change widths og GRID after definiation?
Dear danielmaximiliano:danielmaximiliano wrote:danielmaximiliano wrote:Hi Che:huangchenmin wrote:Dear all:
I try setproperty(Window's name,Control's name,Property's name,value) and failed.
Is that possible to do that ?
Best Regards
chen min
...
file:///C:/hmg.3.0.40/doc/data/index.htm
As HMG reference mentions about, those properties is be got in certain conditions.
Thanks for replying to me.
Best Regards
chen min
-
huangchenmin
- Posts: 157
- Joined: Mon Jun 07, 2010 2:24 am
Re: Is possible to change widths og GRID after definiation?
Dear mol:mol wrote:Dear Che:
if you want to change widths of columns, it is possible only in this way:
you can release grid control and rebuild it with new definition.
"Widths" is available at control definition only
Marek
Thanks for replying to me.
That is really a good ideal.
Best Regards
chen min
- Rathinagiri
- Posts: 5482
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Is possible to change widths og GRID after definiation?
Hi
If you just want to auto adjust the column width to fit the contents that is possible.
Just see here.
http://hmgforum.com/viewtopic.php?f=5&t=2010
If you just want to auto adjust the column width to fit the contents that is possible.
Just see here.
http://hmgforum.com/viewtopic.php?f=5&t=2010
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: Is possible to change widths og GRID after definiation?
THX for reminding this solution!
best regards, Marek
best regards, Marek