> Hi,
> Setting the GDK_NATIVE_WINDOWS var in the environment tab of the project
> only works while using the gambas app within the IDE but with the
> generated executable this var doesn't get set, and so the controls get
> erroneously rendered.
> About setting it in ~/.gnomerc the point was not having to set it
> manually in each affected system... or did you suggest adding the var
> programatically to this file?
> Regards,
> Toni
> 

Logically, doing:

  Application.Env["GDK_NATIVE_WINDOWS"]=1

before showing your first form should work.

If not, you will have to wait for the next release (soon!), where this setting 
will be automatically done.

Regards,

-- 
Benoît Minisini


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to