Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10919

Re: Control Layout on Resizing Window

From "Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Control Layout on Resizing Window
Date 2017-08-23 23:39 +0200
Message-ID <f06b12F4dtlU1@mid.individual.net> (permalink)
References <4b7d795e-1759-4081-a489-25b695612daf@googlegroups.com> <f03e9qFedhpU1@mid.individual.net> <f4af31c7-0a6c-432c-86fb-58461d889842@googlegroups.com>

Show all headers | View raw


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

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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