[Gambas-devel] how to create an mdi form?

Rob sourceforge-raindog2 at ...19...
Fri May 30 14:58:32 CEST 2003


On Friday 30 May 2003 02:40, andrea wrote:
> Please tell me how to create an mdi form, i'm a beginner..but i know VB
> and i want to create a database environment like access

In the tool palette of gambas 0.57 at the bottom you'll find a "Workspace" 
component.  Drop it on your form, size it appropriately, and then put other 
controls inside it.  Voila, instant MDI app.  Better yet, if you already have 
controls on a form, you can cut and paste them into the Workspace control and 
it will all Just Work(tm), at least as far as I can tell.

However, if you're trying to build an Access lookalike you should take a look 
at the gambas database manager app, whose source comes with gambas.  It's 
already an MDI app written in Gambas and is about a third of the way towards 
where you want to get.  (Actually, to really duplicate Access' functionality 
you'd have to integrate most of the Gambas IDE's features as well as design a 
reporting component.  Not that I think it's impossible at all; I was just 
posting about such a possibility on another mailing list where someone was 
looking for long term Access alternatives.)

By the way, if you're not on the gambas-user list, please join.  Gambas-devel 
is meant for discussion of changes to Gambas itself, not programming in 
Gambas.  Gambas-user is for discussion of programming in Gambas and if we 
talk about this any more we should probably do it there.

Rob





More information about the Devel mailing list