Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
hi, I don't know if I have this right, but
EVERYVERE you have to have to skip from one textfield to another,
motsly by tab, PHP, HTML, every programm you know
then you accept the entires.
in gambas on ONE form perfectly easy,
catch the Enter from a menu, as easy as that.
and dont complain, when I show you my forms -  hehe

regards,
dag-jarle johansen

Kadaitcha Man schrieb:
 2009/11/28 Jussi Lahtinen jussi.lahti...@gmail.com:

   
 There are many GUIs where you must validate your input with enter.
 Example, if you send message with pidgin.
 

 Enter means, I am finished. It's your turn to do something, mister pooter.
 Tab means, I am not finished. It's still my turn and I'm still doing stuff.
 Escape means, I am finished, and you can throw all my work out, mister 
 pooter.

 Based on that, can you see why pidgin sends text when you press enter?
 And can you now understand why windows with default buttons tend to
 close when you press enter?

 --
 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] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
see what you mean, laughin to dead here,

ok trying to get better.
do you know how embarisning it is, to be narrowsighted and longsithed at 
once
ok i try my best
man, you have a lot of options here, just ask, you alone knows what 
the software is doing at this point

you have to decide!
regards
dag.jarle johansen



Kadaitcha Man schrieb:
 2009/11/28 Jussi Lahtinen jussi.lahti...@gmail.com:

   
 There are many GUIs where you must validate your input with enter.
 Example, if you send message with pidgin.
 

 Enter means, I am finished. It's your turn to do something, mister pooter.
 Tab means, I am not finished. It's still my turn and I'm still doing stuff.
 Escape means, I am finished, and you can throw all my work out, mister 
 pooter.

 Based on that, can you see why pidgin sends text when you press enter?
 And can you now understand why windows with default buttons tend to
 close when you press enter?

 --
 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] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
you are a good guy,
i'm not, very very böse
(german, means mean)

while I try to help you, my own shit is coming in
the only word I dont understand is pidgin? tell me

Kadaitcha Man schrieb:
 2009/11/28 Jussi Lahtinen jussi.lahti...@gmail.com:

   
 There are many GUIs where you must validate your input with enter.
 Example, if you send message with pidgin.
 

 Enter means, I am finished. It's your turn to do something, mister pooter.
 Tab means, I am not finished. It's still my turn and I'm still doing stuff.
 Escape means, I am finished, and you can throw all my work out, mister 
 pooter.

 Based on that, can you see why pidgin sends text when you press enter?
 And can you now understand why windows with default buttons tend to
 close when you press enter?

 --
 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] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
aaand yet waiting for tomorrow

Dag-Jarle Johansen schrieb:
 you are a good guy,
 i'm not, very very böse
 (german, means mean)

 while I try to help you, my own shit is coming in
 the only word I dont understand is pidgin? tell me

 Kadaitcha Man schrieb:
   
 2009/11/28 Jussi Lahtinen jussi.lahti...@gmail.com:

   
 
 There are many GUIs where you must validate your input with enter.
 Example, if you send message with pidgin.
 
   
 Enter means, I am finished. It's your turn to do something, mister pooter.
 Tab means, I am not finished. It's still my turn and I'm still doing stuff.
 Escape means, I am finished, and you can throw all my work out, mister 
 pooter.

 Based on that, can you see why pidgin sends text when you press enter?
 And can you now understand why windows with default buttons tend to
 close when you press enter?

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


 le 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


[Gambas-user] Null Object

2009-11-27 Thread Kadaitcha Man
I'm having trouble with editing a TableView. I found this when looking
for a solution:

http://old.nabble.com/tableview-edit-td25328595.html

It's the same problem I've got. There is neither a class name nor any
line number in the error message as the guy said, however he didn't
respond back to the list.

Attached is a screen dump, and code to reproduce the problem.

Note: My main project has a Data event handler. The
TableView.Edit([...]) causes the Data handler to fire:

PUBLIC SUB tblvOptions_Data(Row AS Integer, Column AS Integer)

Both Row and Column are zero when TableView.Edit([...]) is invoked.

Gambas is 2.17, project is GTK, running on Ubuntu 9.10.
attachment: Screenshot.png

NullObject.tar.gz
Description: GNU Zip compressed data
--
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] Ok, I'm stumped

2009-11-27 Thread nospam.nospam.nospam
Gambas3

I have a GridView named gvOptions, and this code:

Public Sub gvOptions_Menu()

  Debug Mouse.X
  Debug Mouse.Y

End

1) Both Mouse.X and Mouse.Y tell me no mouse event data

I need to capture the mouse position to pop up a window. How do I do 
that in g3?

2) Where is the main body of documentation for Gambas3?

I will update it as I go on my journey of learning.



--
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] Gambas3 bug reports

2009-11-27 Thread nospam.nospam.nospam
I have a few. Where do they go?

--
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] Gambas3 bug reports

2009-11-27 Thread Charlie Reinl
Am Freitag, den 27.11.2009, 20:17 +1100 schrieb
nospam.nospam.nos...@gmail.com:
 I have a few. Where do they go?
 
Salut nospam,

the office for Gambas3 bug reports is closed since
September, because of extrem richness.   

 And will only reopen after the last cent is spent.

If you cant wait, post it here or to gambas-de...@lists.sourceforge.net.


-- 
Charlie

- growing old is mandatory, growing up is discretionary.
- vieillir est obligatoire, Grandir est discrétionnaire.  
- Altwerden ist obligatorisch, aufgewachsen ist Ermessenssache.


--
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] Gambas3 bug reports

2009-11-27 Thread Emil Tchekov
Salut Charlie,

can help with spending?

I have long term experience and very good contacts, that allow sure and fast 
loss of any amount.


Just call me +123 (0456) 7890 

:-D ;-) :-P

have a lot of fun!!!

cheers


Emil




-Ursprüngliche Nachricht-
Von: Charlie Reinl [mailto:karl.re...@fen-net.de]
Gesendet: Freitag, 27. November 2009 11:01
An: mailing list for gambas users
Betreff: Re: [Gambas-user] Gambas3 bug reports


Am Freitag, den 27.11.2009, 20:17 +1100 schrieb
nospam.nospam.nos...@gmail.com:
 I have a few. Where do they go?
 
Salut nospam,

the office for Gambas3 bug reports is closed since
September, because of extrem richness.   

 And will only reopen after the last cent is spent.

If you cant wait, post it here or to gambas-de...@lists.sourceforge.net.


-- 
Charlie

- growing old is mandatory, growing up is discretionary.
- vieillir est obligatoire, Grandir est discrétionnaire.  
- Altwerden ist obligatorisch, aufgewachsen ist Ermessenssache.


--
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] Gambas3 bug reports

2009-11-27 Thread Ron
Emil Tchekov wrote:

 Just call me +123 (0456) 7890 

   
That phone number must have cost you a small fortune to begin with ;-) ;-)

 -Ursprüngliche Nachricht-
 Von: Charlie Reinl [mailto:karl.re...@fen-net.de]
 Gesendet: Freitag, 27. November 2009 11:01
 An: mailing list for gambas users
 Betreff: Re: [Gambas-user] Gambas3 bug reports


 Am Freitag, den 27.11.2009, 20:17 +1100 schrieb
 nospam.nospam.nos...@gmail.com:
   
 I have a few. Where do they go?

 
 Salut nospam,

 the office for Gambas3 bug reports is closed since
 September, because of extrem richness.   

  And will only reopen after the last cent is spent.

 If you cant wait, post it here or to gambas-de...@lists.sourceforge.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


Re: [Gambas-user] Gambas3 bug reports

2009-11-27 Thread nospam.nospam.nospam
Emil Tchekov wrote:
 Salut Charlie,

 can help with spending?

 I have long term experience and very good contacts, that allow sure
 and fast loss of any amount.

BWAHAHAHHAAHAHA!

PMSL

Too funny.

 Just call me +123 (0456) 7890

 :-D ;-) :-P

 have a lot of fun!!!

 cheers


 Emil




 -Ursprüngliche Nachricht-
 Von: Charlie Reinl [mailto:karl.re...@fen-net.de]
 Gesendet: Freitag, 27. November 2009 11:01
 An: mailing list for gambas users
 Betreff: Re: [Gambas-user] Gambas3 bug reports


 Am Freitag, den 27.11.2009, 20:17 +1100 schrieb
 nospam.nospam.nos...@gmail.com:
 I have a few. Where do they go?

 Salut nospam,

 the office for Gambas3 bug reports is closed since
 September, because of extrem richness.

 And will only reopen after the last cent is spent.

 If you cant wait, post it here or to
 gambas-de...@lists.sourceforge.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


Re: [Gambas-user] Ok, I'm stumped

2009-11-27 Thread Charlie Reinl
Am Freitag, den 27.11.2009, 19:27 +1100 schrieb
nospam.nospam.nos...@gmail.com:
 Gambas3
 
 I have a GridView named gvOptions, and this code:
 
 Public Sub gvOptions_Menu()
 
   Debug Mouse.X
   Debug Mouse.Y
 
 End
 
 1) Both Mouse.X and Mouse.Y tell me no mouse event data
 
 I need to capture the mouse position to pop up a window. How do I do 
 that in g3?
 
 2) Where is the main body of documentation for Gambas3?
 
 I will update it as I go on my journey of learning.
 

Salut nospam, 

http://gambasdoc.org/help   for 2) 

for 1) I just can tell you, if you have installed gambas2 or gambas3
from  svn and or from http://gambas.sourceforge.net you should have the
source code from C++ + gambas IDE where you can have a look.

That's also for  GUI ProgrammingProductivityFeature Request there you
will find in dir where the package is unpacked/gb.qt/src/ext the
source code for the Editor.

-- 
Amicalement
Charlie


--
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] Ok, I'm stumped

2009-11-27 Thread nospam.nospam.nospam
Charlie Reinl wrote:
 Am Freitag, den 27.11.2009, 19:27 +1100 schrieb
 nospam.nospam.nos...@gmail.com:
 Gambas3

 I have a GridView named gvOptions, and this code:

 Public Sub gvOptions_Menu()

   Debug Mouse.X
   Debug Mouse.Y

 End

 1) Both Mouse.X and Mouse.Y tell me no mouse event data

 I need to capture the mouse position to pop up a window. How do
 I do that in g3?

 2) Where is the main body of documentation for Gambas3?

 I will update it as I go on my journey of learning.


 Salut nospam,

 http://gambasdoc.org/help   for 2)

 for 1) I just can tell you, if you have installed gambas2 or gambas3
 from  svn and or from http://gambas.sourceforge.net you should have
 the source code from C++ + gambas IDE where you can have a look.

Hey, Charlie. You need your assumptions pulled out from under you. That I 
have the C++ source code does not imply I can read it :)

 That's also for  GUI ProgrammingProductivityFeature Request there
 you will find in dir where the package is unpacked/gb.qt/src/ext the
 source code for the Editor.

No doubt that is also in C++.

Bad assumptions, Charlie. Bad assumptions. 


--
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] Ok, I'm stumped

2009-11-27 Thread nospam.nospam.nospam
Charlie Reinl wrote:
 Am Freitag, den 27.11.2009, 19:27 +1100 schrieb
 nospam.nospam.nos...@gmail.com:
 Gambas3

 I have a GridView named gvOptions, and this code:

 Public Sub gvOptions_Menu()

   Debug Mouse.X
   Debug Mouse.Y

 End

 1) Both Mouse.X and Mouse.Y tell me no mouse event data

 I need to capture the mouse position to pop up a window. How do
 I do that in g3?

 2) Where is the main body of documentation for Gambas3?

 I will update it as I go on my journey of learning.


 Salut nospam,

 http://gambasdoc.org/help

Yes, well...

http://gambasdoc.org/help/comp/gb.qt/mouse/y?v3
STATIC PROPERTY READ Y AS Integer
Returns the relative vertical position of the cursor of a mouse event.

http://gambasdoc.org/help/comp/gb.qt/mouse/y
STATIC PROPERTY READ Y AS Integer
Returns the relative vertical position of the cursor of a mouse event.

Very helpful, Charlie. Thank you. So, why do both Mouse.X and Mouse.Y tell 
me no mouse event data?


--
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] Ok, I'm stumped

2009-11-27 Thread Charlie Reinl
Am Freitag, den 27.11.2009, 22:13 +1100 schrieb
nospam.nospam.nos...@gmail.com:
 Bad assumptions, Charlie. Bad assumptions. 
Salut nospam.

Ok, you right , but not for the IDE part that's in gambas.

dir where the package is unpacked/app/src/gambasX 


-- 
Amicalement
Charlie


--
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] Ok, I'm stumped

2009-11-27 Thread Charlie Reinl
Am Freitag, den 27.11.2009, 22:20 +1100 schrieb
nospam.nospam.nos...@gmail.com:
 Charlie Reinl wrote:
  Am Freitag, den 27.11.2009, 19:27 +1100 schrieb
  nospam.nospam.nos...@gmail.com:
  Gambas3
 
  I have a GridView named gvOptions, and this code:
 
  Public Sub gvOptions_Menu()
 
Debug Mouse.X
Debug Mouse.Y
 
  End
 
  1) Both Mouse.X and Mouse.Y tell me no mouse event data
 
  I need to capture the mouse position to pop up a window. How do
  I do that in g3?
 
  2) Where is the main body of documentation for Gambas3?
 
  I will update it as I go on my journey of learning.
 
 
  Salut nospam,
 
  http://gambasdoc.org/help
 
 Yes, well...
 
 http://gambasdoc.org/help/comp/gb.qt/mouse/y?v3
 STATIC PROPERTY READ Y AS Integer
 Returns the relative vertical position of the cursor of a mouse event.
 
 http://gambasdoc.org/help/comp/gb.qt/mouse/y
 STATIC PROPERTY READ Y AS Integer
 Returns the relative vertical position of the cursor of a mouse event.
 
 Very helpful, Charlie. Thank you. So, why do both Mouse.X and Mouse.Y tell 
 me no mouse event data?

Salut nospam,

why do you need the mouse position ? You have pushed a right mouse
button on an element who has a Menu event.
Can you use Mouse.ScreenX / Mouse.ScreenY

-- 
Amicalement
Charlie


--
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] Starting with F5

2009-11-27 Thread Dag-Jarle Johansen
Hi out there,

I have a minor problem,

since I added the gb.qt.kde.html, I (almost) always have to start the 
programm twice to get it run. first time it sais, compiling..., the 
message disappears, and then - nada - nothing. stop and restart, then it 
works. Any ideas?

(Ubuntu 9.10, Gambas 2.13)
I am little afraid of upgrading Gambas, last time I tried, I always got 
a signal 11 error even on the most simple programs, and had to deinstall 
and install from synaptics again to get on with the work.

Thanks and greatings,
Dag-Jarle Johansen

--
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] How can I create radio (mutually exclusive) menu?

2009-11-27 Thread David Dell
I'm using Gambas 2.13 on Ubuntu 9.10. I have created a QT graphical
application and I'm trying to create radio (mutually exclusive) menu
items, with a radio icon instead of a check mark when selected. I
can't find any property in the Menu documentation that does that. Can
you help?

Thank you,
David

--
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] Ok, I'm stumped

2009-11-27 Thread Fabien Bodard
so the answer is :

private $MX as Integer
Private $MY as integer


Public sub gvOption_MouseDown
  $MX = mouse.x
  $MY=Mouse.Y
END

Public sub gvOption_Menu()

MyForm.Move($Mx, $My)

END


Be carefull as Mouse.X is container relative...

For a form in the whole screen ... use Mouse.ScreenX

etc


In fact mouse.events are (MouseDown, MouseUp, Click, MouseMove)

and Menu was done to have a common Event that react to Menu key and right click


in your case you can use MouseUp instead
but it will not react to the key menu of the keyboard


2009/11/27 Charlie Reinl karl.re...@fen-net.de:
 Am Freitag, den 27.11.2009, 22:20 +1100 schrieb
 nospam.nospam.nos...@gmail.com:
 Charlie Reinl wrote:
  Am Freitag, den 27.11.2009, 19:27 +1100 schrieb
  nospam.nospam.nos...@gmail.com:
  Gambas3
 
  I have a GridView named gvOptions, and this code:
 
  Public Sub gvOptions_Menu()
 
    Debug Mouse.X
    Debug Mouse.Y
 
  End
 
  1) Both Mouse.X and Mouse.Y tell me no mouse event data
 
      I need to capture the mouse position to pop up a window. How do
  I do that in g3?
 
  2) Where is the main body of documentation for Gambas3?
 
      I will update it as I go on my journey of learning.
 
 
  Salut nospam,
 
  http://gambasdoc.org/help

 Yes, well...

 http://gambasdoc.org/help/comp/gb.qt/mouse/y?v3
 STATIC PROPERTY READ Y AS Integer
 Returns the relative vertical position of the cursor of a mouse event.

 http://gambasdoc.org/help/comp/gb.qt/mouse/y
 STATIC PROPERTY READ Y AS Integer
 Returns the relative vertical position of the cursor of a mouse event.

 Very helpful, Charlie. Thank you. So, why do both Mouse.X and Mouse.Y tell
 me no mouse event data?

 Salut nospam,

 why do you need the mouse position ? You have pushed a right mouse
 button on an element who has a Menu event.
 Can you use Mouse.ScreenX / Mouse.ScreenY

 --
 Amicalement
 Charlie


 --
 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] How can I create radio (mutually exclusive) menu?

2009-11-27 Thread Fabien Bodard
it simply don't exist... you need to use the check mark and then
compute the exclude by you self... it's not so complicated to do.

2009/11/27 David Dell davidmd...@gmail.com:
 I'm using Gambas 2.13 on Ubuntu 9.10. I have created a QT graphical
 application and I'm trying to create radio (mutually exclusive) menu
 items, with a radio icon instead of a check mark when selected. I
 can't find any property in the Menu documentation that does that. Can
 you help?

 Thank you,
 David

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


[Gambas-user] scrollview

2009-11-27 Thread abdurrahman ulusoy
 my code is ScrollView1.ScrollX= 100ScrollView1.Scrolly = 200
this codes are working in gambas2 but gambas3 not working.  



  ___
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] Modifying a picture assigned to a menu

2009-11-27 Thread Benoît Minisini
 Let's say first I assign a picture to a menu:
 
   DIM Pic AS Picture
   Pic = NEW Picture(18, 18)
   Pic.Fill(Color.Black)
   MenuCustomColor.Picture = Pic
 
 When I try to modify a picture assigned to a menu, if I use
 
   MenuCustomColor.Picture.Fill(Dialog.Color)
 
 it does not do anything.
 
 Instead I have to do:
 
   DIM Pic AS Picture
   Pic = MenuCustomColor.Picture
   Pic.Fill(Dialog.Color)
   MenuCustomColor.Picture = Pic
 
 Why is that?

Because the underlying toolkit uses its own picture object that is not 
automatically reassigned to the control automatically. In other words, assume 
that the Picture property returns a copy of the underlying picture.

I did a workaround only for the Control.Font property. I mean, settings 
Control.Font.Bold for example automatically reassigns the control font so that 
you see the change.

 
 And is this the correct way to do this?

So, yes!

Regards,

-- 
Benoît Minisini

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