Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #10909
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Control Layout on Resizing Window |
| Date | Tue, 22 Aug 2017 21:16:59 +0200 |
| Lines | 56 |
| Message-ID | <f03e9qFedhpU1@mid.individual.net> (permalink) |
| References | <4b7d795e-1759-4081-a489-25b695612daf@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="UTF-8"; reply-type=original |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net aHZnpTOKZWlND25Og6gNAwuD50wbMEZsmK7e2G9r0QIR5uessn |
| Cancel-Lock | sha1:47Ql9LBKeRK+YIS2y7n2vUA8/eI= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| X-EsetId | 37303A29ABFDDD63617D6A |
| X-EsetScannerBuild | 34489 |
| Xref | csiph.com comp.lang.clipper.visual-objects:10909 |
Show key headers only | View raw
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
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
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
csiph-web