English
Forum & Help

GUI grid / prozentuale distribution of boxes

 

Erasmus.Herold
Hallöchen ...

I have one Grid prepares from 2 Split and 3 Lines
(grid = gui.grid gui.hwnd [2,3])

The upper and the downstairs row should 10% the Displays in claim take, The mittlere row 80 %

weder: gui.height [grid] 10,80,10
yet: gui.height[grid 10,80,10]
find ihren lane.
who can with the right Syntax help, from the Help watts I unfortunately not schlau.

Greeting
Erasmus
 
04/02/16  
 



have You time:
ui.maingrid=gui.grid gui.hwnd [2 [10 80 10]]

probiert? one can namely The sizes too same with as an array indicate. thereafter to control boxes visible make:
gui.theme ui.maingrid -1// gui.theme.debug

otherwise ought to:

the same do. if not, then liegts on yet so many bow in the Module GUI -

so should But functions.
 
04/02/16  
 




Erasmus.Herold
functions and gefällt. thanks. Closed.

 
04/02/16  
 




Michael
W.
with so much Help would I but gladly know, How  it because now functions has.
 
XProfan X3
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
04/03/16  
 




Micha12334
Yes, this is my opinion, especially since IF 2 Opportunities aufzeigte.
 
04/04/16  
 




Erasmus.Herold
so have I the resolved:
// GRID / Matrix
grid = gui.grid gui.hwnd [1,3]
grid_oben = gui.grid([grid,1,1],[1,1])//created one 1x1 Grid in cell 1,1
grid_mitte = gui.grid([grid,1,2],[3,3])//created one 3x3 Grid in cell 1,3
grid_unten = gui.grid([grid,1,3],[1,1])//created one 1x1 Grid in cell 1,3
// distribution the boxes (prozentual)
gui.height grid [10 80 10]
 
04/08/16  
 



here the hint, instead of grid_oben, grid_mitte, simply:

grid.main=
grid.oben=gui.grid [grid.main 1 1] [1 1]
grid.mitte=...

so have Programmweit everything in 1 Variable "grid" stored.
 
04/08/16  
 




Erasmus.Herold
Yes - the power utterly sense and the Programmiererleben slight.
(thumb high)
 
04/08/16  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.488 Views

Untitledvor 0 min.
Torsten Rümker05/10/16
Boroberto04/22/16
Uwe Lang04/17/16
Julian Schmidt04/13/16
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie