[Gambas-user] Inbuilt function to check if a string contains a valid number

2011-07-26 Thread vikram
Hi, Is there an inbuilt function in Gambas 2 (2.21) to check if a string contains a valid number? Thanks, Vikram Nair -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss

Re: [Gambas-user] Using Character constants in Gambas

2011-03-08 Thread vikram
Hi Caveat, Thanks, that is a lot simpler :) Best Regards, Vikram Nair -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effe

Re: [Gambas-user] Using Character constants in Gambas

2011-03-08 Thread vikram
Hi Caveat, Thanks, that is a lot simpler :) Best Regards, Vikram Nair -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effe

[Gambas-user] Using Character constants in Gambas

2011-03-07 Thread vikram
he collection's definition in a Module and then using it to replace the numeric constants: DIM DialogInstance as DialogName DialogInstance = NEW DialogName DialogInstance.dialogType = ModuleName.DialogType["SomeType0"] 'current code 'DialogInstance.dialogType = 0 Is there a bet

[Gambas-user] (no subject)

2011-03-03 Thread vikram
not exactly what i am trying to make. Even a dummy progress bar whose value keeps cycling between 0 and 1 would do. Are there any tutorials or examples related to using progress bars in gambas? Thanks in advance, Best Regards, Vikram Nair -

[Gambas-user] Copying to GNOME's clipboard

2011-02-14 Thread vikram
. The moment the gambas application is closed the clipboard is cleared. How can i make the text in the clipboard persist even after the gambas application is closed? Thanks in advance, Best Regards, Vikram

[Gambas-user] Feature request

2011-01-20 Thread vikram
is feature. Regards, Vikram -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger

Re: [Gambas-user] Application logging using SHELL

2011-01-20 Thread vikram
Thank you both for the replies. I am going to try using SHELL. Regards, Vikram Nair -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand

[Gambas-user] Application logging using SHELL

2011-01-19 Thread vikram
resource hog than using SHELL. Help! Thanks in advance, Regards, Vikram Nair @Mods: kindly delete the earlier thread titled "using echo command within EXEC", i had sent it with a wrong subject by mistake. --

[Gambas-user] using echo command within EXEC

2011-01-19 Thread vikram
resource hog than using SHELL. Help! Thanks in advance, Regards, Vikram Nair -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware th

[Gambas-user] Difference in SpinBox behavior between gb.gtk & gb.qt

2011-01-05 Thread vikram
the gb.qt component the user cannot enter any value greater than 100, the SpinBox control wouldn't let him! Is there anyway the same can be achieved in applications using the gb.gtk component? Regards, Vikram Nair SpinBoxIssue2GTK.tar.gz Description: GNU Zip compressed data SpinBox

[Gambas-user] Button - Default Property - Doubt

2011-01-03 Thread vikram
navigate to another button and then presses Enter then shouldn't that button's click function be executed? I have attached a sample project for your reference. Is there any way to avoid this? OS: Debian Squeeze (GNOME) GB.GTK component used. Gambas version 2.21 Best Regar

[Gambas-user] Spinbox issue

2011-01-02 Thread vikram
enabled. When the user keys in any value that is within the range of the spinbox and presses enter(without the spinbox losing focus) the value that is in the spinbox is not reflected. I have attached a sample project for your reference. bug? Regards, Vikram Shankar Nair

Re: [Gambas-user] Displaying the same form n times

2010-12-21 Thread vikram
Thank you very much :) --- On Tue, 12/21/10, vikram wrote: From: vikram Subject: To: "self" Date: Tuesday, December 21, 2010, 4:21 AM just use .ShowModal insteed of .show 2010/12/20 vikram : > Hi, > > Thanks a lot for your response :) > This opens all the IP > In

Re: [Gambas-user] Displaying the same form n times

2010-12-20 Thread vikram
s. Thanks again, Vikram --- On Mon, 12/20/10, vikram wrote: From: vikram Subject: [Gambas-user] Displaying the same form n times To: austin...@yahoo.com Date: Monday, December 20, 2010, 6:52 AM PUBLIC SUB Button1_Click() DIM count AS Integer dim hForm as IPinput ascount = txtAS

Re: [Gambas-user] Displaying Mouse.Wait while running a SHELL Command

2010-11-24 Thread vikram
> Setting FMain.Mouse and calling WAIT is useless. Application.Busy should > already set the busy cursor for every widget in the application. Otherwise > this is a bug. Application.Busy alone is not showing a busy pointer on Debian Squeeze, with Gambas 2.21. Regard

Re: [Gambas-user] Displaying Mouse.Wait while running a SHELL Command

2010-11-24 Thread vikram
0 FMain.Mouse = Mouse.Default - I read "If you call WAIT from an event handler, you may create infinite recursions, and then stack overflows" from the Docs, i hope it wouldn't be an issue in this case (i.e., if i were to use WAIT for th

Re: [Gambas-user] Displaying Mouse.Wait while running a SHELL Command

2010-11-23 Thread vikram
Hi, heres a sample program. iam running sha512sum on file which are 100MB+ in size, its takes around 5 seconds. right now the button stays depressed until the hash has been displayed. regards, Vikram GenerateSHA512.tar.gz Description: GNU Zip compressed data

Re: [Gambas-user] Displaying Mouse.Wait while running a SHELL Command

2010-11-23 Thread vikram
>You can use the Wait keyword, see http://gambasdoc.org/help/lang/shell >Something like: >SHELL command Wait TO checksum Thanks for the quick reply. Adding WAIT to the SHELL command is not causing the mouse cursor to change to Mouse.Wait :( Regard

[Gambas-user] Displaying Mouse.Wait while running a SHELL Command

2010-11-23 Thread vikram
"|awk '{print $1}' "   SHELL command TO checksum   checksum = Left(checksum, Len(checksum) - 1) 'strip \n   txta_checksum.Text = checksum   Application.busy = 0   ME.Mouse = Mouse.DEFAULT ----

[Gambas-user] Me.Close in a multi-form application

2010-08-10 Thread vikram
from another form, then maybe i could prevent the confirmation dialogs from popping up. Or could there be some other way to do this? I have a attached a sample application which illustrates the problem. Thanks in advance :) Vikram Shankar Nair multiformCl

Re: [Gambas-user] Confirm on form close

2010-08-05 Thread vikram
@Benoit: Thank you :) @Matti: Thanks, it works on Gambas2. I am working on a Live Installer which would work on Debian & BOSS/GNU Linux. -- The Palm PDK Hot Apps Program offers developers who use the Plug-In De

[Gambas-user] Confirm on form close

2010-08-04 Thread vikram
'code to prevent the form from exiting   ENDIF END Nothing i've put there seems to have been able to stop the form from exiting so far. Thanks Vikram -- The Palm PDK Hot Apps Program offers developer

[Gambas-user] How to make Context Menus?

2010-07-21 Thread vikram
Hi, I am new to gambas, I am using Gambas 2.7 on Debian Lenny. I need to make context menus for a project I am working on, i tried googling but came up pretty much empty handed...any help on this is welcome. Thanks Vikram Nair

[Gambas-user] Help with redirecting stdout of the GNU shred command (SHELL/EXEC)

2010-05-25 Thread vikram
; filename   ENDIF   'SHELL shellcommand FOR READ AS "Process"   END   'Execution never gets here  PUBLIC SUB Process_Read()   DIM resultline AS String   LINE INPUT #shredprocess, resultline   Message("HERE WE ARE!")   resultlin