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


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

Re: Changing control order?

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Changing control order?
Date 2014-11-18 16:06 +0100
Message-ID <cd15kfFe5n1U1@mid.individual.net> (permalink)
References <WY84w.209492$pb1.148238@fx18.fr7> <cbcv4uF11jrU1@mid.individual.net> <m4fk7k$lgr$3@dont-email.me>

Show all headers | View raw


> We need to swap width and height

and where is the problem?

local nWidth as int
local nHeight as int

nWidth := oDCCtrl1:Size:Width
nHeight := oDCCtrl1:Size:Height

oDCCtrl1:Size := Dimension{ oDCCtrl2:Size:Width, oDCCtrl2:Size:Height }
oDCCtrl2:Size := Dimension{ nWidth, nHeight }

The positions need to be recalculated - but this is to you, it should
be not too much complicated to make these calculations.

Wolfgang

-- 

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


Thread

Changing control order? Martin <spam@spam.spam> - 2014-10-29 16:54 +0000
  Re: Changing control order? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2014-10-29 20:57 +0100
    Re: Changing control order? Martin <spam@spam.spam> - 2014-11-18 14:14 +0000
      Re: Changing control order? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2014-11-18 16:06 +0100
  Re: Changing control order? "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2014-11-02 11:53 +0100
    Re: Changing control order? Martin <spam@spam.spam> - 2014-11-18 14:14 +0000
  Re: Changing control order? Mathias <mathias.hakansson@consultec.se> - 2014-11-02 22:32 -0800
    Re: Changing control order? Martin <spam@spam.spam> - 2014-11-18 14:14 +0000

csiph-web