resize not correct when not vertical Center

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

resize not correct when not vertical Center

Post by AUGE_OHR »

hi,

my HBFM App can resize e.g. Maximize
viewtopic.php?f=5&t=6285
it also work correct when use lower / right Edge ("Gripper")

when get Frame on Bottom Frame it "seems" to work fine
when get Frame on Top Frame it does react on this Way

a.) enlarge on Top Frame -> Bottom Line goes down ( on Display )
b.) made Frame smaller -> Bottom line com up ( on Display )

---

after this maximize and normalize Frame and Frame may have a.) or b.) Effect
it will work correct if Frame is Center vertical :!:

so what do i miss :?:
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: resize not correct when not vertical Center

Post by AUGE_OHR »

hi,

have fix Problem in HBFM :D

i have to use Main Form ROW Position and "add" when Control is "calculate" from TOP 0,0
i have to "subtract" when Control "calculate" from BOTTOM ... hm ...
have fun
Jimmy
Post Reply