Hello,

my little project has (...besides the FMain form, obviously) a *secondary* 
form: Form1.

This Form1 has a "ScrollView".

I 'ld like to change the dimensions of that "ScrollView" when I change manually 
(with the mouse) the dimensions of main Form (FMain).
So, in secondary class "Form1.class" I wrote this code:

*******************

Public Sub Form1_Resize()
  
  ScrollView1.Resize(Form1.W - 10, Form1.H - 10)
  
End

*******************

...but width and height of "ScrollView" do not change.


If I insert a:  Print "resize"
in that sub-routine, in console I don't see nothing: it seems that event is not 
raised.

Did I forget anything ?

Regards
vuottt

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to