[Gambas-devel] Gambas-devel Digest, Vol 1, Issue 857

arifin z.arifin at ...475...
Mon Jun 26 13:58:34 CEST 2006


dears all gambas user,
can someone help me,how to access perallel port 
can i have the source code ????

On Sun, 2006-06-25 at 12:03 -0700,
gambas-devel-request at lists.sourceforge.net wrote:
> Send Gambas-devel mailing list submissions to
> 	gambas-devel at lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.sourceforge.net/lists/listinfo/gambas-devel
> or, via email, send a message with subject or body 'help' to
> 	gambas-devel-request at lists.sourceforge.net
> 
> You can reach the person managing the list at
> 	gambas-devel-owner at lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gambas-devel digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: New MDI Control (Ron Onstenk)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 25 Jun 2006 16:25:55 +0200
> From: Ron Onstenk <ronstk at ...124...>
> Subject: Re: [Gambas-devel] New MDI Control
> To: mailing list for gambas developers
> 	<gambas-devel at lists.sourceforge.net>
> Message-ID: <200606251625.55206.ronstk at ...124...>
> Content-Type: text/plain;  charset="iso-8859-1"
> 
> On Sunday 25 June 2006 03:02, Fabien Bodard wrote:
> > Hi to all,
> 
> ---8<---- 
> 
> > Nevertheless... If Many people can test my component ...it while be great.
> I could not wait, did try it direct. :)
> 
> > 
> > Just copy the project in Gambaspath/comp/src and add "gb.form.mda" in 
> > the 'order' file.
> Perfect
> > 
> > do a make install
> Perfect
> > 
> > Change componant gb.form.mdi by gb.form.mda
> Hm, Perfect again
> > 
> > That's all.
> ???
> > 
> > Regards,
> > Fabien Bodard
> > 
> > 
> > Return me all bug you see please !
> What bugs? didnot found yet :)
> 
> > 
> 
> Good job Fabien.
> I like it this way.
> 
> I think you know about the Cascade/Tile not working yet, this not a bug I assume.
> 
> The only thing I found and that is not a bug in sense it harms anything.
> Moving the window to the left stops when the border left hits the project Sidepanel.
> When the window is to big, normal (for me) is go to the right bottom corner and resize it.
> If this point is not visible then drag the window with the Top to the left/up.
> 
> Try at least to make then Cascade (and/or Tile) working so all open windows 
> place themself in the visible windows say width/height at 50 %
> 
> Any way I will switch over to your version. 
> Thanks
> 
> Ron
> 
> PS Good job in compiling too.
> Your version consumes 1 byte less the version of Benoit :) :) :)
> 
> PSS 
> One point. If maximised and click on the topbar of the window a flicker occurs.
> 
> 
> PSSS
> This in FWorkspace.class works at me :)
> 
> PUBLIC SUB MnuCascade_Click()
>   DIM iCCwidth AS Integer
>   DIM iCCheight AS Integer
>   DIM xw AS window
>   DIM off AS Integer
>   iCCwidth = ME.ClientWidth \ 2
>   iCCheight = ME.ClientHeight \ 2
>   off = 0
> 
>   FOR EACH xw IN $aWindow
>     xw.Width = iCCwidth
>     xw.Left = off
>     xw.Height = iCCheight
>     xw.Top = off
>     off += 24
>   NEXT
> END
> 
> PUBLIC SUB mnuTile_Click()
>   DIM iCCwidth AS Integer
>   DIM iCCheight AS Integer
>   DIM xw AS window
>   DIM off AS Integer
>   DIM offx AS Integer
>   DIM offy AS Integer
>   DIM ix, iy AS Integer
>   
>   off = $aWindow.Count
>   SELECT off
>     CASE 0
>       RETURN
>     CASE 1 
>       offx = 1  
>       offy = 0
>     DEFAULT  
>       offx = Sqr($aWindow.Count)
>       offy = offx + 1
>   END SELECT
>     
>   iCCwidth = ME.ClientWidth \ IIf(offx = 0, 1, offx)
>   iCCheight = ME.ClientHeight \ IIf(offy = 0, 1, offy)
> 
>   FOR ix = 0 TO offx - 1
>   FOR iy = 0 TO offy - 1
>     IF (iy * offx + ix) < off THEN
>       xw = $aWindow[iy * offx + ix]
>       xw.Width = iCCwidth
>       xw.Height = iCCheight
>       xw.Left = iCCwidth * ix
>       xw.Top = iCCheight * iy
>     ENDIF  
>   NEXT
>   NEXT
> 
> END
> 
> 
> 
> 
> 
> ------------------------------
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> ------------------------------
> 
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
> 
> 
> End of Gambas-devel Digest, Vol 1, Issue 857
> ********************************************
> 
> 





More information about the Devel mailing list