On 08/07/2012 10:34 PM, Adam Ant wrote:
On Wed, Aug 8, 2012 at 11:30 AM, Stephen Bungaysbun...@csolve.net wrote:
So nothing on this then? It just is what it is?
On 08/04/2012 12:58 PM, Stephen Bungay wrote:
Fedora 13
Gambas 3.2.90
Gnome 2
Four input boxes are arranged on a tab
So nothing on this then? It just is what it is?
On 08/04/2012 12:58 PM, Stephen Bungay wrote:
Fedora 13
Gambas 3.2.90
Gnome 2
Four input boxes are arranged on a tab, lets call them TextBox1,
TextBox2, TextBox3 and TextBox4, and this this is the order in which
they appear
Fedora 13
Gambas 3.2.90
Gnome 2
Four input boxes are arranged on a tab, lets call them TextBox1,
TextBox2, TextBox3 and TextBox4, and this this is the order in which
they appear in the hierarchy. On the form they are arranged in two
columns, the first column contains TextBox1 and TextBox 2,
OK. Downloading the latest source.
On 07/25/2012 12:05 PM, Benoît Minisini wrote:
Le 25/07/2012 16:46, Stephen Bungay a écrit :
Gambas 2.99
Fedora 13
This is peculiar behaviour. The Keypress, KeyRelease, GotFocus,
Lostfocus events do not fire for value boxes
Gambas 2.99
Fedora 13
This is peculiar behaviour. The Keypress, KeyRelease, GotFocus,
Lostfocus events do not fire for value boxes. Is this by design or is
this a bug in the control?
Steve.
--
Live Security
On 09/06/2011 07:09 AM, Benoît Minisini wrote:
Gambas 2.23
I have three variables, all of type date.
mdStartTime
mdEndTime
newEndTime
The first two contain time values with no date portion. This was
obtained from a function which used
Time(CInt(TimeArray[0]), CInt(TimeArray[1]),
Only event that seems to work is the Change event documentation
says it inherits Control so I'm thinking that MouseUp/Down/Wheel etc.
should also get raised. Am I mistaken?
Regards
Steve.
--
Special Offer --
On 09/06/2011 09:38 AM, Rolf-Werner Eilert wrote:
I sent this yesterday, but nobody seems to know - or is the question too
stupid to be answered? :-)
As the mailing list doesn't accept a repost, I put it under a new Re.
Hope you aren't annoyed, guys...
Hi folks,
Is there a general
On 09/06/2011 10:20 AM, Fabien Bodard wrote:
first answer for steve
Public Sub Slider1_MouseUp()
Print Mouse is released
End
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log
On 09/06/2011 08:29 PM, Benoît Minisini wrote:
On 09/06/2011 10:20 AM, Fabien Bodard wrote:
first answer for steve
Public Sub Slider1_MouseUp()
Print Mouse is released
End
-
- Special Offer -- Download
On 09/06/2011 08:29 PM, Benoît Minisini wrote:
On 09/06/2011 10:20 AM, Fabien Bodard wrote:
first answer for steve
Public Sub Slider1_MouseUp()
Print Mouse is released
End
-
- Special Offer -- Download
Gambas 2.23
I have three variables, all of type date.
mdStartTime
mdEndTime
newEndTime
The first two contain time values with no date portion. This was
obtained from a function which used
Time(CInt(TimeArray[0]), CInt(TimeArray[1]), CInt(TimeArray[2]))
to generate the value to return. It
On 09/05/2011 10:44 PM, Stephen Bungay wrote:
Gambas 2.23
I have three variables, all of type date.
mdStartTime
mdEndTime
newEndTime
The first two contain time values with no date portion. This was
obtained from a function which used
Time(CInt(TimeArray[0]), CInt(TimeArray[1]), CInt
On 08/30/2011 09:34 PM, Benoît Minisini wrote:
Please forgive my rambling here... but if anyone can explain these
results I'd really like to hear from them.
Consistently getting Inconsistent results... which is consistency..
ARRR!
Send command strings to the stream that is a virtual
On 08/31/2011 09:22 AM, Benoît Minisini wrote:
On 08/30/2011 09:34 PM, Benoît Minisini wrote:
Please forgive my rambling here... but if anyone can explain these
results I'd really like to hear from them.
Consistently getting Inconsistent results... which is consistency..
ARRR!
Send
On 08/31/2011 10:01 AM, Benoît Minisini wrote:
Launching it from the command line cured the problem :) . This means no
dependency hell with CEntOS and Gambas 3 (although all future versions
will use Gambas 3). Much obliged for pointing me in the right direction
Benoit.
Regards
Steve.
EXEC is a wonderful thing, lighter than SHELL, but it needs things
passed as elements of a string array and that is making for some ugly code.
Say for example you want to play two videos as a playlist in VLC, in
exec the command might look like this;
EXEC[vlc,--intf,rc, Video1.avi,Video2.avi]
On 08/31/2011 09:01 PM, Benoît Minisini wrote:
EXEC is a wonderful thing, lighter than SHELL, but it needs things
passed as elements of a string array and that is making for some ugly code.
Say for example you want to play two videos as a playlist in VLC, in
exec the command might look like
Please forgive my rambling here... but if anyone can explain these
results I'd really like to hear from them.
Consistently getting Inconsistent results... which is consistency..
ARRR!
Send command strings to the stream that is a virtual console and maybe
they will work, maybe they
each
other for:
http://forum.videolan.org/viewtopic.php?f=13t=85408
https://bugs.kde.org/show_bug.cgi?id=260719
I have the same symptoms with the gambas MusicPlayer example.
Am 22.08.2011 14:44, schrieb Stephen Bungay:
When sending commands to a process via PRINT the receiving process (vlc
Yes, I'll send it along again (it has changed since last sent).
On 08/23/2011 08:18 AM, Benoît Minisini wrote:
Hi Matti;
I'm using FC-13 and Gnome. I'll head on over to the videolan forum
via the link you gave (thanks much) and have a read.
VLC also has a telnet interface and
On 08/23/2011 08:18 AM, Benoît Minisini wrote:
Hi Matti;
I'm using FC-13 and Gnome. I'll head on over to the videolan forum
via the link you gave (thanks much) and have a read.
VLC also has a telnet interface and I might be able to use that. If
however the problem is at a more
On 08/23/2011 10:02 AM, Benoît Minisini wrote:
On 08/23/2011 08:18 AM, Benoît Minisini wrote:
Hi Matti;
I'm using FC-13 and Gnome. I'll head on over to the videolan forum
via the link you gave (thanks much) and have a read.
VLC also has a telnet interface and I might be able
On 08/23/2011 02:41 PM, Benoît Minisini wrote:
The Desktop.Find() problem is a bug that is fixed in Gambas 3 only. I
don't think I will fix it in Gambas 2 soon.
So I suggest you use Gambas 3 for your project! :-)
For your interface problem, I can't test with the project you sent me.
I
When sending commands to a process via PRINT the receiving process (vlc
in this case) is reacting at a glacial/geological pace. i.e. the app
sends pause to the process and it might take a minute or two to react
to the command (if at all), definitely non-useful. Anyone else ever
experience
Hi folks!
I cant seem to send commands to VLC through it's remote control
interface when started using SHELL.
Gambas 2.23
ShellString = vlc --intf rc --video-title psPlayerTitle
psFileName
mpProcessHandle = SHELL ShellString FOR READ WRITE AS VLC
VLC starts up in remote
On 08/21/2011 02:12 PM, Benoît Minisini wrote:
Hi folks!
I cant seem to send commands to VLC through it's remote control
interface when started using SHELL.
Gambas 2.23
ShellString = vlc --intf rc --video-title psPlayerTitle
psFileName
mpProcessHandle = SHELL ShellString
I was trying (and have now succeeded) to embed VLC into an embedder on a
form, then dynamically create multiple instances of that form in
dynamically created multiple panels on a host form, or in laymen's terms
'play as many videos as I wanted in one containing window'.
To do this I needed to
Hi folks! I need some help.
Gambas 2.23
Problem: Desktop.Find is not finding a window that is indeed appearing
on the desktop. I personally can see it and it has the correct title,
therefore it is indeed there, and hence the need for some assistance
trying to figure out WHY Desktop.Find can't
On 08/18/2011 11:44 AM, Benoît Minisini wrote:
Hi folks! I need some help.
Gambas 2.23
Problem: Desktop.Find is not finding a window that is indeed appearing
on the desktop. I personally can see it and it has the correct title,
therefore it is indeed there, and hence the need for some
On 08/18/2011 11:56 AM, Stephen Bungay wrote:
On 08/18/2011 11:44 AM, Benoît Minisini wrote:
Hi folks! I need some help.
Gambas 2.23
Problem: Desktop.Find is not finding a window that is indeed appearing
on the desktop. I personally can see it and it has the correct title,
therefore
Greetings Fabien!
That works very well, and is so much smaller and cleaner than the SUB
you put in the initial email. By the way, that first SUB would have had
a problem creating the stmpDir folder, it would, as written, not put in
the delimiting / characters and would try to create a
Hi folks!
Gambas 2.99
Fedora 14
Using mkdir with catch and finally to create a recursive SUB to
build a directory structure.
The harness consists of FormMain with one big-friendly button on it,
pretty simple. Here is all of the code;
' Gambas class file
Public Sub _new()
End
Public
Hi Fabien Tobias;
Thanks for taking the time to reply and putting those SUBs together.
Another way to do this is to simply execute a mkdir -p using the
command shell, but now that the problem exists I want to figure out why
the recursive routine is not behaving as expected.
Typo in the Finally section... Exists(sFolderSpec) should read
Exist(sFolderSpec).
On 06/30/2011 11:58 PM, Stephen Bungay wrote:
Hi Fabien Tobias;
Thanks for taking the time to reply and putting those SUBs together.
Another way to do this is to simply execute a mkdir -p using
On 03/08/2011 09:04 AM, Stephen Bungay wrote:
Anyone have an example of this? I have launched mplayer using exec
and have it in an embedder, now want to control it through push buttons.
--
What You Don't Know
Gambas 2.22
I am dragging from a listview to a textarea testing drag and drop
functionality. The interesting thing is that when I drop the item the
text in the textarea receives it but the drop() event never fires, I can
trap the Change() event, but not the Drop... anyone else ever run into
Thanks Fabien, sorry fir the delayed reply, it suddenly got really
busy around here and this had to take a lower priority. I'll put that
into practice.
On 02/26/2011 04:41 PM, Fabien Bodard wrote:
2011/2/26 Stephen Bungaysbun...@csolve.net:
This has undoubtedly been asked before.
On 02/26/2011 04:41 PM, Fabien Bodard wrote:
2011/2/26 Stephen Bungaysbun...@csolve.net:
This has undoubtedly been asked before.
GAMBAS 2.2
I am trying to add an icon to the listview items, to that end this
code snippet should do the trick;
Private SUB Initialize_Listview1()
This has undoubtedly been asked before.
GAMBAS 2.2
I am trying to add an icon to the listview items, to that end this
code snippet should do the trick;
Private SUB Initialize_Listview1()
DIM Icon AS NEW Picture
Icon.Load(/home/username/mypicture.png) ' This png file is 26x16
and
Given the following code (Gambas 2.22)
PUBLIC SUB Form_Open()
DIM X AS Integer
DIM ButtonArray[10] AS Object
FOR X = 0 TO 9
ButtonArray[X] = NEW Button(ME)
WITH ButtonArray[X]
.X = 90 + (20 * x)
.Y = 100
.Width = 20
see which one it was
Print i
Select Case
.
End Select
End
Am 11.02.2011 17:00, schrieb Stephen Bungay:
Given the following code (Gambas 2.22)
PUBLIC SUB Form_Open()
DIM X AS Integer
DIM ButtonArray[10] AS Object
FOR X = 0 TO 9
ButtonArray[X
Yes it worked. I'm just so used to typing PRIVATE SUB ... that I
gapped it and then couldn't see the forest for the darn trees in the way.
On 02/11/2011 04:00 PM, EA7DFH wrote:
El 11/02/11 21:18, Stephen Bungay escribió:
snipped
' This one does not trap
PRIVATE SUB ToggleButtons_click
On 02/10/2011 08:18 AM, Jussi Lahtinen wrote:
Try latest revision of Gambas 3.
This is fixed to Cstr(lblMoviePlayer.Handle) .
Jussi
On Thu, Feb 10, 2011 at 06:51, Stephen Bungaysbun...@csolve.net wrote:
Line # 39
$hProcess = Exec [mplayer, -wid, lblMoviePlayer.Handle,
Thank you for the reply Benoit.
On 02/07/2011 02:15 PM, Benoît Minisini wrote:
Trying to get the dev environment up and running on CentOS 5.5, no QT
installed. ./configure reports that qt is disabled and successfully
completes. make install also successfully completes, gambas2
Line # 39
$hProcess = Exec [mplayer, -wid, lblMoviePlayer.Handle,
Conv$($sPath, Desktop.Charset, System.Charset)] For Read Write
results in this error
Type mismatch: Wanted String[] got Variant[] instead
the problem is with lblMoviePlayer.Handle... has something fundamentaly
changed with
Trying to get the dev environment up and running on CentOS 5.5, no QT
installed. ./configure reports that qt is disabled and successfully
completes. make install also successfully completes, gambas2
isinstalled but, when invoked it reports that it is unable to locate the
gb.qt library. Now
On 11/19/2010 08:58 AM, Fabien Bodard wrote:
2010/11/19 Demosthenes Koptsisdemosthen...@gmail.com:
ok!
i was cofused from two things
1)
in previous message about static arrays Fabien said that:
yes a static array is not an object ... that's why it's a little bit
deprecated :)
anther
Good work-around Dimitris.
Dimitris Anogiatis wrote:
JY, I think I got it working the way you want it...
try my example with a new project with a listview and a timer. Set the timer
for 10 miliseconds and enable it
and paste this code in the class
Benoît Minisini wrote:
For String assignments you can put an at the end of it...
String = ABCD
1234
Steve.
Jean-Yves F. Barbier wrote:
Hi,
Is there a special character (such as \ under bash) to break a very long
line?
JY
There are two ways of spanning a long line
I suppose one could use the MouseMove event, track the mouse position
over the listbox and highlight the item that it is over... I seem to
recall something about this... just it was a long time ago and now Iits
fuzzy as to if it was in VB 6.0 or Gambas...
Sorry, not much help but perhaps
having the event fire when the mouse is moving within
the confines of the target control as it makes effects like the one you
desire somewhat difficult, if not impossible, to implement.
Steve.
Jean-Yves F. Barbier wrote:
Stephen Bungay a écrit :
I suppose one could use the MouseMove event, track
Never mind.. found it. I have GOT to stop working so late.
Gridview.Columns[iIndex].Text = Text Goes Here
Steve :0 --Yawning
--
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in
For String assignments you can put an at the end of it...
String = ABCD
1234
Steve.
Jean-Yves F. Barbier wrote:
Hi,
Is there a special character (such as \ under bash) to break a very long line?
JY
In the past I created a gridview utilities module to do this (and
other things). Looking at the properties for the GridView tpday (three
years later) is there still no way to put text in a border?
Just wondering. my old utilities still work but it sure would be nice
if the border could
The RAISE method was called to bring the listbox to the foreground of
its parent, but it seems the border surrounding the listbox is not
getting the message. The result is a rather messy display. Have a look
at the attached PNG file.
GAMBAS 2.12
GB.FORM
KUBUNTU 8.04
Is this fixed in
Yeah, I see what you mean, that would be handy for pasting blocks of
text in without the IDE mangling it. I see your point.
Ron wrote:
Stephen Bungay wrote:
I made up a standard comment block a long time ago as a text file, I
simply paste it in and modify/add to it as needed. Yes you have
Forgot the darn attachment... I HATE when I do that.
inline: ListBoxRaiseUncleanBorder.png--
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors
as it should.
Jean-Yves F. Barbier wrote:
Stephen Bungay a écrit :
Forgot the darn attachment... I HATE when I do that.
I hate you too, so now we are too ;-)
Have you got a piece of code to test?
jy
Test3.tar.gz
Description: application/gzip
Doriano Blengino wrote:
Stephen Bungay ha scritto:
I see there are TWO places to set the default tab size. One under
Project-Properties-Options and the other under
Tools-Preferences-Editor. A little confusing this, since one is using
the editor to edit the project, it logically follows
clever way of
marking a comment block.
Regards,
Ron_2nd.
---
this e-mail is sent with my android phone.
On Jul 13, 2009 10:11 PM, Jean-Yves F. Barbier 12u...@gmail.com wrote:
Stephen Bungay a écrit :
Highlight the block of code you want to comment out then click the
little comment
Set tab to any value (I like to set it to = 1 space) and it continues
to = 2 spaces (i.e. highlight a blockof text, press the tab key, and
everything moves 2 spaces to the right). The same is true if I set it to
3 or 4.
KUBUNTU 8.04
Gambas 2.12
Steve.
I see there are TWO places to set the default tab size. One under
Project-Properties-Options and the other under
Tools-Preferences-Editor. A little confusing this, since one is using
the editor to edit the project, it logically follows that the editor
preferences are the item that needs
Returning the favour... :)
Collection = NULL
Steve.
richard terry wrote:
Is it possible to 'destroy' a collection, I don't mean just remove its
members.
What I mean is one does this to create one:
mycollection = new collection.
One may do something with it, but then want it to
Try this (from my GridUtils Class.. can't believe that was written 3
years ago now!)
'***
'* AdjustGridColumns
'* Author: Stephen Bungay
'* Date: July 26 2006
'*
'* Parameters:
'* GridView
'*
'* Calls: Nothing
'*
'* Adjusts
Using Gambas 2.1.2 on KUbuntu 8.04.
Perhaps I've been away from Gambas for far too long, either that or
I'm just thick, but whichever it is I can't seem to get the side panel
working as 'I' think it should, and that is perhaps the problem.
Has anyone got a simple example of using the
.
richard terry wrote:
On Wed, 1 Jul 2009 02:00:54 am Stephen Bungay wrote:
Using Gambas 2.1.2 on KUbuntu 8.04.
Perhaps I've been away from Gambas for far too long, either that or
I'm just thick, but whichever it is I can't seem to get the side panel
working as 'I' think it should
Hi Richard
This code snippet will dump the text into a TextArea for you, it
asumes (a bad thing) that there are no newline characters in the data
and as such works with your sample. I used a button to launch the
code... the important bits are in the middle... :)
PUBLIC SUB
Can someone shed some light on what dev package is required to
enable the gb.desktop component?
I've just moved over to kubuntu 8.04 from 7.04, I'm rebuilding
everything and this component is disabled (I've managed to hunt down all
the others I need).
Steve.
I wrote a complete POS in GAMBAS but the cash drawer was connected to
the parallell device.. however, I did dump text to an LED pole display,
to show the customer how much they owed and the change due etc. Should
be fairly similar, knowing the control codes to send to the cash drawer
might
under Gambas 2.8 Kubuntu 7.04.
Regards
Steve.
Doriano Blengino wrote:
Stephen Bungay ha scritto:
Look forward to it.
Doriano Blengino wrote:
Right. This evening, at home, I will send the project which shows
that events fire correctly.
Here it is. The swallowed form prints in a textarea
and would still be flailing about. Community helps.
Doriano Blengino wrote:
Stephen Bungay ha scritto:
Well, after much consultation with Benoit I finally understand what
is going on and how to get around the problem.
For the benefit of anyone else who has been reading this thread
Look forward to it.
Doriano Blengino wrote:
Stephen Bungay ha scritto:
Now we come to your source. The mFormInitialized variable serves what
purpose?
mFormInitialized is a hold over from something I used to do in VB,
and ocaisionally find useful in Gambas, so I just never removed
, then it was a bug. Are you sure that we
talked about that?
This happened some time ago - could be I am wrong, but the proof is
simple to produce.
Right now I have no time but, in the course of today, may be I will find
the time to build a simple project. Anyway, Stephen Bungay complains
.
Benoit: how can one dynamically resize form objects that are embedded
in a tabstrip?
Doriano Blengino wrote:
Stephen Bungay ha scritto:
A form, lets call it FormX contains a tabStrip which has another
form, call it FormY dynamically instantiated inside the TabStrip at
run-time. FormY
A form, lets call it FormX contains a tabStrip which has another
form, call it FormY dynamically instantiated inside the TabStrip at
run-time. FormY has three controls on it, a calendar, a table, and a
VSplit to seperate them.
When FormX is resized the TabStrip is resized and I want to
Replying to self... never mind... I've got it...
Stephen Bungay wrote:
Consider the following procedure from Form_Main
Private Sub InitializeControls()
Dim hFormX As FormX
Dim hFormY As FormY
TabStrip1.Index = 0
hFormX = New FormX(TabStrip1) As X_Form
TabStrip1.Index
Where is the setting to toggle the grid-snap? I've been poking
around looking for it (tools-preferences, project-preferences and
looking for a grid snap button on the toolbar (there is a display grid
toggle)) and can't seem to find a grid-snap toggle. I even looked
through the email
Yeah there are man pages for things... but the conventional man pages
don't apply to GAMBAS and the components. :)
Kari Laine wrote:
On Tue, Sep 2, 2008 at 5:02 PM, Stephen Bungay [EMAIL PROTECTED] wrote:
Kari means go to the online help.
Select the little question mark
I was into VB6 again there for a few months and am just getting back
into GAMBAS... wasn't there a 'call stack' in GAMBAS to trace procedure
calls back to their source, or am I just confused and my mind has been
polluted by VB 6.0.
Steve.
IN your proc..
DIM hButton1 as Button
With Tabstrip1
.Index = 2
hButton1 = NEW Button(TabStrip1) AS NewButton
end with
M0E Lnx wrote:
In a form, I have a tabstrip.
The tabstrip's .count property is not defined until some conditions are met
After the tabstrip's .count
81 matches
Mail list logo