Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #10905 > unrolled thread
| Started by | ccyasa.sbassano@gmail.com |
|---|---|
| First post | 2017-08-22 04:58 -0700 |
| Last post | 2017-08-22 16:44 -0700 |
| Articles | 6 — 2 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Control Layout on Resizing Window ccyasa.sbassano@gmail.com - 2017-08-22 04:58 -0700
Re: Control Layout on Resizing Window "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2017-08-22 21:16 +0200
Re: Control Layout on Resizing Window ccyasa.sbassano@gmail.com - 2017-08-22 16:43 -0700
Re: Control Layout on Resizing Window "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2017-08-23 23:39 +0200
Re: Control Layout on Resizing Window ccyasa.sbassano@gmail.com - 2017-08-24 04:03 -0700
Re: Control Layout on Resizing Window ccyasa.sbassano@gmail.com - 2017-08-22 16:44 -0700
| From | ccyasa.sbassano@gmail.com |
|---|---|
| Date | 2017-08-22 04:58 -0700 |
| Subject | Control Layout on Resizing Window |
| Message-ID | <4b7d795e-1759-4081-a489-25b695612daf@googlegroups.com> |
I have a window that shows a filter subdatawindow (another datawindow with the filter controls). Some like that
subdatawindow
button1
bbrowser button2
button3
button4
The button1 shows/hides the subdatawindow (initially hide). When the subdatawindow is showed the controls below them (all the other controls) must be move down vertically to not overlap controls. And when the subdatawindow is hide then back to original positions.
Until here all works i expected, i set:
button1:OwnerAlignment:= PTR(_CAST, 0x00001100)
bbrowser:OwnerAlignment:= PTR(_CAST, 0x00001100)
button2:OwnerAlignment:= PTR(_CAST, 0x00001100)
button3:OwnerAlignment:= PTR(_CAST, 0x00001100)
button4:OwnerAlignment:= PTR(_CAST, 0x00001100)
Now, i want that when the window is resized bbrowser also is resized and button2 and button3 moves to right:
Then i try:
button1:OwnerAlignment:= PTR(_CAST, 0x00001100)
bbrowser:OwnerAlignment:= PTR(_CAST, 0x11111100)
button2:OwnerAlignment:= PTR(_CAST, 0x00001111)
button3:OwnerAlignment:= PTR(_CAST, 0x00001111)
button4:OwnerAlignment:= PTR(_CAST, 0x00001100)
This works fine until i press button1 because, in this case, bbrowser only must move down and not resize vertically.
I try changing owner alignment before and after press de button1, also suspend and restore update on controls but no luck.
Maybe my form to try to acoomplish that is wrong.
I want to have the filter visible if the user wants to. I put the filter in the same window to don't hide part of the window with a floating filter window. I have test with a floating windows and works but is kind of ugly.
¿Someone do something like this?
Regards.
Sebastián
[toc] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2017-08-22 21:16 +0200 |
| Message-ID | <f03e9qFedhpU1@mid.individual.net> |
| In reply to | #10905 |
Hi Sebastian,
Can you paint the Window how it should look before and after pressing
button1 ans send mwe a screenshot to my mailadress:
urs.eggmann@shinternet.ch Then I can understand your problem better.
regards
Urs
<ccyasa.sbassano@gmail.com> schrieb im Newsbeitrag
news:4b7d795e-1759-4081-a489-25b695612daf@googlegroups.com...
I have a window that shows a filter subdatawindow (another datawindow with
the filter controls). Some like that
subdatawindow
button1
bbrowser button2
button3
button4
The button1 shows/hides the subdatawindow (initially hide). When the
subdatawindow is showed the controls below them (all the other controls)
must be move down vertically to not overlap controls. And when the
subdatawindow is hide then back to original positions.
Until here all works i expected, i set:
button1:OwnerAlignment:= PTR(_CAST, 0x00001100)
bbrowser:OwnerAlignment:= PTR(_CAST, 0x00001100)
button2:OwnerAlignment:= PTR(_CAST, 0x00001100)
button3:OwnerAlignment:= PTR(_CAST, 0x00001100)
button4:OwnerAlignment:= PTR(_CAST, 0x00001100)
Now, i want that when the window is resized bbrowser also is resized and
button2 and button3 moves to right:
Then i try:
button1:OwnerAlignment:= PTR(_CAST, 0x00001100)
bbrowser:OwnerAlignment:= PTR(_CAST, 0x11111100)
button2:OwnerAlignment:= PTR(_CAST, 0x00001111)
button3:OwnerAlignment:= PTR(_CAST, 0x00001111)
button4:OwnerAlignment:= PTR(_CAST, 0x00001100)
This works fine until i press button1 because, in this case, bbrowser only
must move down and not resize vertically.
I try changing owner alignment before and after press de button1, also
suspend and restore update on controls but no luck.
Maybe my form to try to acoomplish that is wrong.
I want to have the filter visible if the user wants to. I put the filter in
the same window to don't hide part of the window with a floating filter
window. I have test with a floating windows and works but is kind of ugly.
¿Someone do something like this?
Regards.
Sebastián
[toc] | [prev] | [next] | [standalone]
| From | ccyasa.sbassano@gmail.com |
|---|---|
| Date | 2017-08-22 16:43 -0700 |
| Message-ID | <f4af31c7-0a6c-432c-86fb-58461d889842@googlegroups.com> |
| In reply to | #10909 |
I send the a screenshot to you, tell me if you receive the e-mail. Thanks. El martes, 22 de agosto de 2017, 16:17:16 (UTC-3), Urs Eggmann escribió: > Hi Sebastian, > > Can you paint the Window how it should look before and after pressing > button1 ans send mwe a screenshot to my mailadress: > urs.eggmann@shinternet.ch Then I can understand your problem better. > > regards > Urs > > <ccyasa.sbassano@gmail.com> schrieb im Newsbeitrag > news:4b7d795e-1759-4081-a489-25b695612daf@googlegroups.com... > I have a window that shows a filter subdatawindow (another datawindow with > the filter controls). Some like that > > subdatawindow > button1 > bbrowser button2 > button3 > > button4 > > The button1 shows/hides the subdatawindow (initially hide). When the > subdatawindow is showed the controls below them (all the other controls) > must be move down vertically to not overlap controls. And when the > subdatawindow is hide then back to original positions. > Until here all works i expected, i set: > > button1:OwnerAlignment:= PTR(_CAST, 0x00001100) > bbrowser:OwnerAlignment:= PTR(_CAST, 0x00001100) > button2:OwnerAlignment:= PTR(_CAST, 0x00001100) > button3:OwnerAlignment:= PTR(_CAST, 0x00001100) > button4:OwnerAlignment:= PTR(_CAST, 0x00001100) > > Now, i want that when the window is resized bbrowser also is resized and > button2 and button3 moves to right: > Then i try: > button1:OwnerAlignment:= PTR(_CAST, 0x00001100) > bbrowser:OwnerAlignment:= PTR(_CAST, 0x11111100) > button2:OwnerAlignment:= PTR(_CAST, 0x00001111) > button3:OwnerAlignment:= PTR(_CAST, 0x00001111) > button4:OwnerAlignment:= PTR(_CAST, 0x00001100) > > This works fine until i press button1 because, in this case, bbrowser only > must move down and not resize vertically. > I try changing owner alignment before and after press de button1, also > suspend and restore update on controls but no luck. > Maybe my form to try to acoomplish that is wrong. > I want to have the filter visible if the user wants to. I put the filter in > the same window to don't hide part of the window with a floating filter > window. I have test with a floating windows and works but is kind of ugly. > ¿Someone do something like this? > Regards. > > Sebastián
[toc] | [prev] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2017-08-23 23:39 +0200 |
| Message-ID | <f06b12F4dtlU1@mid.individual.net> |
| In reply to | #10911 |
Hi Sebastian, Yes, I started to experiment.... until now with not much success.... Regards Urs <ccyasa.sbassano@gmail.com> schrieb im Newsbeitrag news:f4af31c7-0a6c-432c-86fb-58461d889842@googlegroups.com... I send the a screenshot to you, tell me if you receive the e-mail. Thanks. El martes, 22 de agosto de 2017, 16:17:16 (UTC-3), Urs Eggmann escribió: > Hi Sebastian, > > Can you paint the Window how it should look before and after pressing > button1 ans send mwe a screenshot to my mailadress: > urs.eggmann@shinternet.ch Then I can understand your problem better. > > regards > Urs > > <ccyasa.sbassano@gmail.com> schrieb im Newsbeitrag > news:4b7d795e-1759-4081-a489-25b695612daf@googlegroups.com... > I have a window that shows a filter subdatawindow (another datawindow with > the filter controls). Some like that > > subdatawindow > button1 > bbrowser button2 > button3 > > button4 > > The button1 shows/hides the subdatawindow (initially hide). When the > subdatawindow is showed the controls below them (all the other controls) > must be move down vertically to not overlap controls. And when the > subdatawindow is hide then back to original positions. > Until here all works i expected, i set: > > button1:OwnerAlignment:= PTR(_CAST, 0x00001100) > bbrowser:OwnerAlignment:= PTR(_CAST, 0x00001100) > button2:OwnerAlignment:= PTR(_CAST, 0x00001100) > button3:OwnerAlignment:= PTR(_CAST, 0x00001100) > button4:OwnerAlignment:= PTR(_CAST, 0x00001100) > > Now, i want that when the window is resized bbrowser also is resized and > button2 and button3 moves to right: > Then i try: > button1:OwnerAlignment:= PTR(_CAST, 0x00001100) > bbrowser:OwnerAlignment:= PTR(_CAST, 0x11111100) > button2:OwnerAlignment:= PTR(_CAST, 0x00001111) > button3:OwnerAlignment:= PTR(_CAST, 0x00001111) > button4:OwnerAlignment:= PTR(_CAST, 0x00001100) > > This works fine until i press button1 because, in this case, bbrowser only > must move down and not resize vertically. > I try changing owner alignment before and after press de button1, also > suspend and restore update on controls but no luck. > Maybe my form to try to acoomplish that is wrong. > I want to have the filter visible if the user wants to. I put the filter > in > the same window to don't hide part of the window with a floating filter > window. I have test with a floating windows and works but is kind of ugly. > ¿Someone do something like this? > Regards. > > Sebastián
[toc] | [prev] | [next] | [standalone]
| From | ccyasa.sbassano@gmail.com |
|---|---|
| Date | 2017-08-24 04:03 -0700 |
| Message-ID | <e32dfd48-1044-4431-a72c-b4162fb8d0df@googlegroups.com> |
| In reply to | #10919 |
El miércoles, 23 de agosto de 2017, 18:39:49 (UTC-3), Urs Eggmann escribió: > Hi Sebastian, > > Yes, I started to experiment.... until now with not much success.... > > Regards > Urs > > <ccyasa...@gmail.com> schrieb im Newsbeitrag > news:f4af31c7-0a6c-432c-86fb-58461d889842@googlegroups.com... > I send the a screenshot to you, tell me if you receive the e-mail. > Thanks. > El martes, 22 de agosto de 2017, 16:17:16 (UTC-3), Urs Eggmann escribió: > > Hi Sebastian, > > > > Can you paint the Window how it should look before and after pressing > > button1 ans send mwe a screenshot to my mailadress: > > urs.e....@shinternet.ch Then I can understand your problem better. > > > > regards > > Urs > > > > <ccyasa....@gmail.com> schrieb im Newsbeitrag > > news:4b7d795e-1759-4081-a489-25b695612daf@googlegroups.com... > > I have a window that shows a filter subdatawindow (another datawindow with > > the filter controls). Some like that > > > > subdatawindow > > button1 > > bbrowser button2 > > button3 > > > > button4 > > > > The button1 shows/hides the subdatawindow (initially hide). When the > > subdatawindow is showed the controls below them (all the other controls) > > must be move down vertically to not overlap controls. And when the > > subdatawindow is hide then back to original positions. > > Until here all works i expected, i set: > > > > button1:OwnerAlignment:= PTR(_CAST, 0x00001100) > > bbrowser:OwnerAlignment:= PTR(_CAST, 0x00001100) > > button2:OwnerAlignment:= PTR(_CAST, 0x00001100) > > button3:OwnerAlignment:= PTR(_CAST, 0x00001100) > > button4:OwnerAlignment:= PTR(_CAST, 0x00001100) > > > > Now, i want that when the window is resized bbrowser also is resized and > > button2 and button3 moves to right: > > Then i try: > > button1:OwnerAlignment:= PTR(_CAST, 0x00001100) > > bbrowser:OwnerAlignment:= PTR(_CAST, 0x11111100) > > button2:OwnerAlignment:= PTR(_CAST, 0x00001111) > > button3:OwnerAlignment:= PTR(_CAST, 0x00001111) > > button4:OwnerAlignment:= PTR(_CAST, 0x00001100) > > > > This works fine until i press button1 because, in this case, bbrowser only > > must move down and not resize vertically. > > I try changing owner alignment before and after press de button1, also > > suspend and restore update on controls but no luck. > > Maybe my form to try to acoomplish that is wrong. > > I want to have the filter visible if the user wants to. I put the filter > > in > > the same window to don't hide part of the window with a floating filter > > window. I have test with a floating windows and works but is kind of ugly. > > ¿Someone do something like this? > > Regards. > > > > Sebastián Same here... Regards. Sebastián
[toc] | [prev] | [next] | [standalone]
| From | ccyasa.sbassano@gmail.com |
|---|---|
| Date | 2017-08-22 16:44 -0700 |
| Message-ID | <e6d7e659-fdde-426e-baa1-7f20cf2e7531@googlegroups.com> |
| In reply to | #10909 |
I send the a screenshot to you, tell me if you receive the e-mail. Thanks. El martes, 22 de agosto de 2017, 16:17:16 (UTC-3), Urs Eggmann escribió: > Hi Sebastian, > > Can you paint the Window how it should look before and after pressing > button1 ans send mwe a screenshot to my mailadress: > urs.e....@shinternet.ch Then I can understand your problem better. > > regards > Urs > > <ccyasa....@gmail.com> schrieb im Newsbeitrag > news:4b7d795e-1759-4081-a489-25b695612daf@googlegroups.com... > I have a window that shows a filter subdatawindow (another datawindow with > the filter controls). Some like that > > subdatawindow > button1 > bbrowser button2 > button3 > > button4 > > The button1 shows/hides the subdatawindow (initially hide). When the > subdatawindow is showed the controls below them (all the other controls) > must be move down vertically to not overlap controls. And when the > subdatawindow is hide then back to original positions. > Until here all works i expected, i set: > > button1:OwnerAlignment:= PTR(_CAST, 0x00001100) > bbrowser:OwnerAlignment:= PTR(_CAST, 0x00001100) > button2:OwnerAlignment:= PTR(_CAST, 0x00001100) > button3:OwnerAlignment:= PTR(_CAST, 0x00001100) > button4:OwnerAlignment:= PTR(_CAST, 0x00001100) > > Now, i want that when the window is resized bbrowser also is resized and > button2 and button3 moves to right: > Then i try: > button1:OwnerAlignment:= PTR(_CAST, 0x00001100) > bbrowser:OwnerAlignment:= PTR(_CAST, 0x11111100) > button2:OwnerAlignment:= PTR(_CAST, 0x00001111) > button3:OwnerAlignment:= PTR(_CAST, 0x00001111) > button4:OwnerAlignment:= PTR(_CAST, 0x00001100) > > This works fine until i press button1 because, in this case, bbrowser only > must move down and not resize vertically. > I try changing owner alignment before and after press de button1, also > suspend and restore update on controls but no luck. > Maybe my form to try to acoomplish that is wrong. > I want to have the filter visible if the user wants to. I put the filter in > the same window to don't hide part of the window with a floating filter > window. I have test with a floating windows and works but is kind of ugly. > ¿Someone do something like this? > Regards. > > Sebastián
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web