[Gambas-user] form_resize issue

2010-04-17 Thread Robert JUHASZ
Hello List, When the user resizes the main form of my application I try to follow the form size with the controls on the form. I use the Form_resize event and I modify the controls' position accordingly. My hierarchy is something like that: Form TabStrip1 TabStrip11 TableView111

Re: [Gambas-user] form_resize issue

2010-04-17 Thread Fabien Bodard
The resize event is used really not often on gambas ... it's not VB ! you need to use the container system to automagiquely resize the elements in your form ... all is managed with the mouse... Nothing to do by code :) look at VBox, HBox, Panel, and all other containers like form, etc and

[Gambas-user] Those pic with donkey on gambas website are great.

2010-04-17 Thread Zelimir Ikovic
Those pic with donkey on gambas website are great. Probably you should rename gambas to KickAssBasic, Ass is for donkey in english. KickAss means something that really kick ass :) Ass is not a rude word. In Bible: ... And Jesus, when he had found a young ass ... Regards, Ike

Re: [Gambas-user] Those pic with donkey on gambas website are great.

2010-04-17 Thread Fabien Bodard
witch donkey ? 2010/4/17 Zelimir Ikovic zelimir_iko...@yahoo.com: Those pic with donkey on gambas website are great. Probably you should rename gambas to KickAssBasic, Ass is for donkey in english. KickAss means something that really kick ass :) Ass is not a rude word. In Bible: ... And

Re: [Gambas-user] Those pic with donkey on gambas website are great.

2010-04-17 Thread Rafa Domenech
Nice bible passage. Find here http://gambas.sourceforge.net/en/news.htmlthe donkeys. Rafa On 17 April 2010 21:10, Fabien Bodard gambas...@gmail.com wrote: witch donkey ? 2010/4/17 Zelimir Ikovic zelimir_iko...@yahoo.com: Those pic with donkey on gambas website are great. Probably you

Re: [Gambas-user] Those pic with donkey on gambas website are great.

2010-04-17 Thread Fabien Bodard
lol my fault you say Donkey and i search for Monkey :/ sorry 2010/4/17 Rafa Domenech rafad...@gmail.com: Nice bible passage. Find here http://gambas.sourceforge.net/en/news.htmlthe donkeys. Rafa On 17 April 2010 21:10, Fabien Bodard gambas...@gmail.com wrote: witch donkey ? 2010/4/17

[Gambas-user] EOF problem

2010-04-17 Thread Ed Clare Kelm
Hi! I'm having a problem reliably reading a text file. I am using: Panasonic CF-51 Toughbook Ubuntu 9.04 , Kernel 2.6.28-18 Gambas 2.8, QT Below is the code for a test program which demonstrates the problem. This is a simple form, with one button, and one label. The only code is the

Re: [Gambas-user] EOF problem

2010-04-17 Thread Benoît Minisini
Hi! I'm having a problem reliably reading a text file. I am using: Panasonic CF-51 Toughbook Ubuntu 9.04 , Kernel 2.6.28-18 Gambas 2.8, QT Below is the code for a test program which demonstrates the problem. This is a simple form, with one button, and one label. The only code is

Re: [Gambas-user] EOF problem

2010-04-17 Thread Ed Clare Kelm
Thanks for the quick reply! 1. The problem is independent of the contents of the text file. 2. I tried a more complicated test program in which there are TWO buttons, and TWO different text files. This behaves similarly; most of the time, failure of one button/file will be accompanied by

[Gambas-user] Did anybody try to run stepper motors through paralel port

2010-04-17 Thread Zelimir Ikovic
I have VB6 program that run CNC plasma machine. It work very well and smooth under win200, but in WinXP machine motion is not good. It doesnot help if I set REALTIME prority for the process ... How about Linux and Gambas? Daes it depent on version of Linux ... What is resolution for Gambas

Re: [Gambas-user] Did anybody try to run stepper motors through paralel port

2010-04-17 Thread Benoît Minisini
I have VB6 program that run CNC plasma machine. It work very well and smooth under win200, but in WinXP machine motion is not good. It doesnot help if I set REALTIME prority for the process ... How about Linux and Gambas? Daes it depent on version of Linux ... What is resolution for

Re: [Gambas-user] EOF problem

2010-04-17 Thread Dimitris Anogiatis
Ed can you try this and tell us if it still doesn't work? PUBLIC SUB Button1_Click() DIM tfile AS File DIM Fname AS String Dim temp AS String Fname = /home/us/Documents/testdat.txt tfile = OPEN Fname FOR READ label1.Text = IF Eof(tfile) THEN label1.Text = EOF Print

Re: [Gambas-user] form_resize issue

2010-04-17 Thread Robert JUHASZ
Salut Fabien, Thanks for the idea. From one side it's a pity if the resize event doesn't work as I imagined, form the other side it's a good opportunity to learn how containers work in Gambas. Is there any good tutorial which shows how the different controls work? Their description is quite brief