Re: [Gambas-user] Error in the documentation

2009-08-28 Thread Fabien Bodard
it's not an error it's a generic handle name like with form in your
fom class code..


form_open is not the name of your form !

2009/8/27 Pino Zollo pinozo...@gmail.com:
 HI
 Maybe there is an error in the documentation example of the instruction OPEN.
 ---
 ' Watching a serial port

 DIM hFile AS File

 hFile = OPEN /dev/ttyS0 FOR READ WRITE WATCH

 ...

 PUBLIC SUB File_Read()     hFile_Read()  ??

  DIM iByte AS Byte

  READ #hFile, iByte
  PRINT Got one byte: ; iByte

 END
 --

 Saludos
 Pino

 --
 Key ID: 0xF6768208
 Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
 Key server: hkp://wwwkeys.eu.pgp.net

 --
 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


--
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


Re: [Gambas-user] type mismatch: wanted integer, got string instead (solved)

2009-08-28 Thread Fabien Bodard
try this


IF NOT sRain THEN
 IF InStr(LCase(sRain), x)  0 OR InStr(sRain, -)  0 THEN
   fRain=0
 ELSE
   TRY fRain = CFloat(sRain)
   IF ERROR THEN fRain=-1  'Not a Valid Number
 ENDIF
ELSE
 fRain=-1
ENDIF

--
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


Re: [Gambas-user] configuring toolbar in code

2009-08-28 Thread Benoît Minisini
 On Friday 28 August 2009 08:14:51 Benoît Minisini wrote:
   On Friday 28 August 2009 07:37:46 Benoît Minisini wrote:
 I wondered if anyone had the code/knew how to make ones program
 react to the user clickign on that little vertical button on the
 end of a toolbar - to popup  a list of available tool buttons and
 allow drag-n-drop, like in the gambas IDE. I trolled the gambas3
 ide code but couldn't find it.

 Regards

 Richard
   
It is automatic. Otherwise you have the Action.ConfigureToolbar()
method if you really want to open the configuration toolbar by hand.
   
Regards,
  
   Nothing popups up when I click mine, must be doing something wrong.
   I'll take another look.
  
   Richard
 
  You must define the toolbar key property, and the action property of each
  toolbar control.
 
  Regards,

 Don't suppoise you could point me to a sample code in the IDE?


There is no code at all. You define these properties in the property sheet. 
Look at the main toolbar in the FMain form of the IDE for example, and in the 
menus.

-- 
Benoît

--
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


[Gambas-user] web browser.

2009-08-28 Thread abdurrahman ulusoy
when i wait for opengl selection :) , i add some codes to webbrowser (in gambas 
examples). 

if you want to develope gambasweb codes here

 http://code.google.com/p/gambasweb/




  ___
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!
--
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


Re: [Gambas-user] web browser.

2009-08-28 Thread craf
it's great¡¡¡.
-Mensaje original-
De: abdurrahman ulusoy uluso...@yahoo.com
Reply-to: mailing list for gambas users
gambas-user@lists.sourceforge.net
Para: mailing list for gambas users gambas-user@lists.sourceforge.net
Asunto: [Gambas-user] web browser.
Fecha: Fri, 28 Aug 2009 14:45:44 -0700 (PDT)


when i wait for opengl selection :) , i add some codes to webbrowser (in gambas 
examples). 

if you want to develope gambasweb codes here

 http://code.google.com/p/gambasweb/




  ___
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!
--
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
--
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


Re: [Gambas-user] web browser.

2009-08-28 Thread Dimitris Anogiatis
abdurrahman

it works pretty well,
keep up the great work :)

Regards
Dimitris

On Fri, Aug 28, 2009 at 3:45 PM, abdurrahman ulusoy uluso...@yahoo.comwrote:

 when i wait for opengl selection :) , i add some codes to webbrowser (in
 gambas examples).

 if you want to develope gambasweb codes here

  http://code.google.com/p/gambasweb/




  ___
 Yahoo! Türkiye açıldı!  http://yahoo.com.tr
 İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!

 --
 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

--
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


Re: [Gambas-user] web browser.

2009-08-28 Thread Steven James Drinnan
Does not work in gnome, need KDE to run. You may want to add that to
your requirements.



Steven Drinnan

On Fri, 2009-08-28 at 18:11 -0600, Dimitris Anogiatis wrote:
 abdurrahman
 
 it works pretty well,
 keep up the great work :)
 
 Regards
 Dimitris
 
 On Fri, Aug 28, 2009 at 3:45 PM, abdurrahman ulusoy uluso...@yahoo.comwrote:
 
  when i wait for opengl selection :) , i add some codes to webbrowser (in
  gambas examples).
 
  if you want to develope gambasweb codes here
 
   http://code.google.com/p/gambasweb/
 
 
 
 
   ___
  Yahoo! Türkiye açıldı!  http://yahoo.com.tr
  İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!
 
  --
  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
 
 --
 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
 


--
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