[Gambas-user] gambas2 gambas3 port guide

2009-08-31 Thread abdurrahman ulusoy
i installed gambas3. (thaks to lordheavy)  how will i port my projects. Are 
there gambas2 / gambas3  difference page, guide  etc...  



  ___
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


[Gambas-user] menu action

2009-08-31 Thread Aleksandrs Livshics
Hi Gambas users.
Is it possible to assign some action to a menu directly (this menu has just
one item and it is silly to click first on a menu and then on the only item)
Alternatively, Is it possible to place a simple button on a menu line of the 
form? 
Also is there any way (I cannot find it, sorry) to change  menu color like
it is possible for the form background?
Aleks

--
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] What happens on a form close event

2009-08-31 Thread richard terry
I was just doing some work where I wanted to get access to the tag:


me.parent.parent

 and found that though, at the start of loading the form that it exists 
(obviously) but that as soon as Form_close() is called that whearas the object 
me still exists until the form actually is destroyed, that  me.parent  = null. 
(hence no parent.parent)

Can anyone explain the closing sequence, and can one get to the bit of data I 
want, from within form_close but before thet data is destroyed?

Regards

Richard

--
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] gambas2 gambas3 port guide

2009-08-31 Thread Fabien Bodard
you just copy your project and then open it with gb3... then use the
tool to convrtforms... and save your project... the most part is
automatic

2009/8/31 abdurrahman ulusoy uluso...@yahoo.com:
 i installed gambas3. (thaks to lordheavy)  how will i port my projects. Are 
 there gambas2 / gambas3  difference page, guide  etc...



      ___
 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


[Gambas-user] DataBrowser

2009-08-31 Thread Mathias Ebermann
Hi,

DataBrowser is a really great tool.You don't need any code for displaying the 
fields of records, depending on what the user
clicks in the GridView..

But since DataBrowser uses only ONE table (set in DataSource), I can't find a 
way to display for example Producer.Name in
the GridView instead of ProducerID.

Is there any possibility to show a reference to another table in the 
DataBrowser.GridView?

Thannks for help
Matti

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

2009-08-31 Thread Charlie Reinl
Am Montag, den 31.08.2009, 21:52 +0200 schrieb Mathias Ebermann:
 Hi,
 
 DataBrowser is a really great tool.You don't need any code for displaying the 
 fields of records, depending on what the user
 clicks in the GridView..
 
 But since DataBrowser uses only ONE table (set in DataSource), I can't find a 
 way to display for example Producer.Name in
 the GridView instead of ProducerID.
 
 Is there any possibility to show a reference to another table in the 
 DataBrowser.GridView?
 
 Thannks for help
 Matti

Salut Mathias,

this is out of examples/Database/FTest if you mean the headers text

PUBLIC SUB Form_Open()

  WITH DataBrowser2.GridView
.Columns[0].Text = Color
  END WITH
  
  WITH DataBrowser1.GridView
.Columns[0].Text = Id
.Columns[0].Width = 48
.Columns[1].Text = Active
.Columns[2].Text = Name
.Columns[3].Text = Firstname
.Columns[4].Text = Birthday
  END WITH
  
END


-- 
Amicalment
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] DataBrowser

2009-08-31 Thread Mathias Ebermann
No, Charlie,
I didn't mean the headers. I know how to rename them.

What I meant is:
In my DataSource table I have a field ProducerID.
That points to another table Producers with the key field id and the field 
Name.
Now I would like to have the Column Producers.Name in the list instead of 
ProducerID.
I mean the field values of the records, not the headers.


Charlie Reinl schrieb:
 Am Montag, den 31.08.2009, 21:52 +0200 schrieb Mathias Ebermann:
 Hi,

 DataBrowser is a really great tool.You don't need any code for displaying 
 the fields of records, depending on what the user
 clicks in the GridView..

 But since DataBrowser uses only ONE table (set in DataSource), I can't find 
 a way to display for example Producer.Name in
 the GridView instead of ProducerID.

 Is there any possibility to show a reference to another table in the 
 DataBrowser.GridView?

 Thannks for help
 Matti
 
 Salut Mathias,
 
 this is out of examples/Database/FTest if you mean the headers text
 
 PUBLIC SUB Form_Open()
 
   WITH DataBrowser2.GridView
 .Columns[0].Text = Color
   END WITH
   
   WITH DataBrowser1.GridView
 .Columns[0].Text = Id
 .Columns[0].Width = 48
 .Columns[1].Text = Active
 .Columns[2].Text = Name
 .Columns[3].Text = Firstname
 .Columns[4].Text = Birthday
   END WITH
   
 END
 
 

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

2009-08-31 Thread Jean-Yves F. Barbier
Mathias Ebermann a écrit :
 No, Charlie,
 I didn't mean the headers. I know how to rename them.
 
 What I meant is:
 In my DataSource table I have a field ProducerID.
 That points to another table Producers with the key field id and the 
 field Name.
 Now I would like to have the Column Producers.Name in the list instead of 
 ProducerID.
 I mean the field values of the records, not the headers.

I'm afraid you have to use a view, Mathias; but if there's another solution
I'm interested in too.

JY
-- 

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

2009-08-31 Thread Benoît Minisini
 No, Charlie,
 I didn't mean the headers. I know how to rename them.

 What I meant is:
 In my DataSource table I have a field ProducerID.
 That points to another table Producers with the key field id and the
 field Name. Now I would like to have the Column Producers.Name in the
 list instead of ProducerID. I mean the field values of the records, not
 the headers.


In Gambas 3, the Table property of a DataSource can be any SQL request.

In Gambas 2, I'm afraid there is no simple solution. But try this: use your 
own DataView control, and create an Observer on the GridView of the DataView 
control - you get it with the DataView.GridView property. Then catch the Data 
event with the Observer: by using the Row property, you will know if you are 
in the ProducerID column, and then you can replace the displayed data with the 
name of the producer by setting the GridView.Data.Text property.

Regards,

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


Re: [Gambas-user] DataBrowser

2009-08-31 Thread Benoît Minisini
  No, Charlie,
  I didn't mean the headers. I know how to rename them.
 
  What I meant is:
  In my DataSource table I have a field ProducerID.
  That points to another table Producers with the key field id and the
  field Name. Now I would like to have the Column Producers.Name in the
  list instead of ProducerID. I mean the field values of the records, not
  the headers.

 In Gambas 3, the Table property of a DataSource can be any SQL request.

 In Gambas 2, I'm afraid there is no simple solution. But try this: use your
 own DataView control, and create an Observer on the GridView of the
 DataView control - you get it with the DataView.GridView property. Then
 catch the Data event with the Observer: by using the Row property, you will
 .
/|\
 |
Read 'Column' instead ---'

 know if you are in the ProducerID column, and then you can replace the
 displayed data with the name of the producer by setting the
 GridView.Data.Text property.

 Regards,



-- 
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] TextEdit example _Link(Path as string)

2009-08-31 Thread richard terry
Public Sub TextEdit1_Link(Path As String)

  Message(You have clicked on:\n\n  Path)  

End

This dosn't seem to activate, andt there seems no help in the gambas help 
either for this ?not activated?


/comp/gb.qt.ext/textedit/.link  

Richard

--
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] Example program scripting dosn't run (kde4.3)

2009-08-31 Thread richard terry
Not important but I was just browsing, the error message is can't find 
kdesktop'.

Regards

richard

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