PDA

View Full Version : MDI + TBGL



ErosOlmi
02-11-2008, 12:02
To test the attached example you need at least thinBasic preview 1.7.0.0 refresh 2008.11.01
See this post if you do not know how to get it: http://community.thinbasic.com/index.php?topic=2257.0
_________________________________________________

Hi all,

attached a little test I was shocked it would work but it seems to work fine under XP.
An MDI example with more MDI windows (use File/New menu) plus a MDI window working with TBGL (use View/TBGL menu) all working in real time without flickering. Resize, reduce, maximize, move whatever MDI child window and see by yourself.

All this is just testing before final release of revolutionary thinBasic 1.7.0.0 (I know, I'm exaggerating but you know ... ;D )

Have fun
Eros

PS: just open TBGL window once because TBGL is not (yet) multi window.

ADDED: added EXE version in the zip file so even those not having thinBasic 1.7.0.0 can see and test the example.

Petr Schreiber
02-11-2008, 16:53
Hi Eros,

very nice example.
I can imagine some UI designer done 100% in ThinBasic with mouse control...

Just one thing - when I click File/New form, then click on bottom right corner and drag fast to resize, controls are sometimes badly rendered. Going with mouse over them usually corrects the behavior.


Petr

ErosOlmi
02-11-2008, 16:59
Yes, I know, there are other problems in drawing (for example if you draw a rect and drag up till the top edge you will see wrong settings but it is not important in this case because this example was developed for testing MDI functionalities.

Ciao
Eros

ErosOlmi
02-11-2008, 17:02
Added EXE version inside zip file so everyone can see demo in action and test it.

Lionheart008
19-11-2008, 15:29
hi all :)

a) by chance I have found this very interesting MDI (MDI Testdialog Edit + TBGL) example because I was looking for an example to include new popup windows for TBGL ;) and have added a cube in the TBGL menu (View/TBGL)...

- I have pushed a new drawQuad() function in it, changed the background color and after the script hasn't accept the drawQuad() first, after building some code lines of the quad and polygon new it does happens :D (wasn't as easy as I thought)

b) by the way: the "Control" little window popup you can close only by clicking at the Control menu??? You cannot close it by clicking on the small X icon (top right)...

c) click menu Window/Tile Horizontal or Vertical and the layout of the UI changes :) Good!

d) MDI is quite new for me ;) the world of thinbasic modules are big :D

best regards, Lionheart

ErosOlmi
19-11-2008, 15:39
b) by the way: the "Control" little window popup you can close only by clicking at the Control menu??? You cannot close it by clicking on the small X icon (top right)...


;) I will let you discover the trick ;D