Hi all.
I have little problem. I have grid in tab. I can not refresh this grid. Look picture.
what is problem?
dodo
Grid in Tab
Moderator: Rathinagiri
Grid in Tab
- Attachments
-
- tab_0.JPG (28.72 KiB) Viewed 5194 times
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Grid in Tab
Even though it is placed in the tab, it should be referred as FormName.ControlName only.
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: Grid in Tab
THX rathinagiri.
But when I try. Result is not OK.
But when I try. Result is not OK.
- Attachments
-
- tab_1.JPG (28.19 KiB) Viewed 5188 times
Re: Grid in Tab
I've met the problem like this.
Try to test if tab is already defined.
So add phrase to function GRID_ZAKAZKY_ONCHANGE():
From my observations (I didn't study sources of hmg) , controls placed on tab are defined before definition of tab, later the tab is defined and controls are added in tab at the end... So, this order causes problems while init time.
Strange...
Maybe I'm wrong?
Try to test if tab is already defined.
So add phrase to function GRID_ZAKAZKY_ONCHANGE():
Code: Select all
if !IsControlDefined(TAB_0, FORM_0)
return
endif
Strange...
Maybe I'm wrong?
Re: Grid in Tab
THX Marek.
I handly edit file form_0.frm. I just remove grid_polozky to first position in Tab def. Every is Ok now.
imho. Last summer I was in Krakow three days. nice ..
dodo
I handly edit file form_0.frm. I just remove grid_polozky to first position in Tab def. Every is Ok now.
imho. Last summer I was in Krakow three days. nice ..
dodo
- Attachments
-
- maja.JPG (84.08 KiB) Viewed 5178 times
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Grid in Tab
Application GUI design looks nice Dodo. Cool.
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: Grid in Tab
Last winter I was riding on Snowboard in Slovakia in Zuberecdodogo wrote:THX Marek.
I handly edit file form_0.frm. I just remove grid_polozky to first position in Tab def. Every is Ok now.
imho. Last summer I was in Krakow three days. nice ..
dodo
I'd love this place.