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


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

Re: Changing control order?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Changing control order?
Date Tue, 18 Nov 2014 16:06:56 +0100
Lines 20
Message-ID <cd15kfFe5n1U1@mid.individual.net> (permalink)
References <WY84w.209492$pb1.148238@fx18.fr7> <cbcv4uF11jrU1@mid.individual.net> <m4fk7k$lgr$3@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
X-Trace individual.net h8h/RBoPNqXAI8SeBfe62AefNCfSg9fblDlxjFhaq5mbhsj+8=
Cancel-Lock sha1:fNSTbKg44brk3Raly1RgwFC6qxY=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:7436

Show key headers only | 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