Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-29 Thread PICCORO McKAY Lenz
its there any possibility to override the .text to handle from .richtext ? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-06-29 12:21 GMT-04:00 PICCORO McKAY Lenz : > gr that's wiki link its different from http://gambaswiki.org/ >

Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-29 Thread PICCORO McKAY Lenz
gr that's wiki link its different from http://gambaswiki.org/wiki/comp/gb.qt4/gridview damn ok thanks ... Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-06-29 11:03 GMT-04:00 adamn...@gmail.com : > > > On Thu, 29 Jun 2017 09:43:04 -0400 > PICCORO

Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-29 Thread adamn...@gmail.com
On Thu, 29 Jun 2017 09:43:04 -0400 PICCORO McKAY Lenz wrote: > hi Jorge, i already know why the usage of the richtext in the pagegrid.. > the question are why when i access to .text got nothing.. i modified the > code to set both: .richtext content and .text content..

Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-29 Thread PICCORO McKAY Lenz
hi Jorge, i already know why the usage of the richtext in the pagegrid.. the question are why when i access to .text got nothing.. i modified the code to set both: .richtext content and .text content.. but only the richtext content are got ... Lenz McKAY Gerardo (PICCORO)

Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-29 Thread Jorge Carrión
I wrote that software. It is available in the Farm with the name of pageGrid. The Richtext property is used because the control allows the rows to be automatically set according to the length of their content and the available column width (control's wordWrap property), and that can only be

Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-28 Thread adamn...@gmail.com
Just because something has a similar name doesn't mean it is the same thing. Your original question makes as much sense as: "How come when I access the Text property of a GridView, it doesn't give me the value of the Alignment property?" V_GridView_Cell.Text and _GridView_Cell.RichText are not

Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-28 Thread PICCORO McKAY Lenz
no no, i mean that i want to use the .text only but does not got any here, only by using .richtext.. ... Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-06-28 14:05 GMT-04:00 Charlie : > OK sorry I deleted that post once I reread your post. > > Have a look

Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-28 Thread Charlie
OK sorry I deleted that post once I reread your post. Have a look at this solution GUITest.tar - Check out www.gambas.one -- View this message in context:

Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-28 Thread PICCORO McKAY Lenz
but that's the problem, why richtext have contents and .text does not have it? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-06-28 13:17 GMT-04:00 Charlie : > PICCORO McKAY Lenz wrote > > i have a piece of code, from a complex project, that export line

Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-28 Thread Charlie
PICCORO McKAY Lenz wrote > i have a piece of code, from a complex project, that export line by line > to > a file, the contents of the gridview, but not the text, only the richtext > why are not the same? Try using: *linefile &= "\"" & grid[d, c].RichText & "\";" 'Not .Text* Also you can use:

[Gambas-user] gridview contents x,y are default richtext or text?

2017-06-28 Thread PICCORO McKAY Lenz
i have a piece of code, from a complex project, that export line by line to a file, the contents of the gridview, but not the text, only the richtext why are not the same? For d = 0 To grid.Rows.Count - 1 linefile = "" For c = 0 To grid.Columns.Count - 1 linefile

Re: [Gambas-user] Gridview icon detection

2017-01-19 Thread Linus
Hi Fabien, Thank you for the example but I made a mistake and it’s not for a GRIDVIEW but for ColumnView that I would detect the Icon. Do you have any idea to do that please ? Olivier Cruilles > Le 19 janv. 2017 à 07:46, Gianluigi a écrit : > > Hi Fabien, > > very

Re: [Gambas-user] Gridview icon detection

2017-01-19 Thread Gianluigi
Hi Fabien, very interesting especially the explanation of _Draw :-) I thank you so much Regards Gianluigi 2017-01-19 12:07 GMT+01:00 Fabien Bodard : > Ok this is my fault as i've not tested my code ... so i've forgot to > little things > > This is so the working code : >

Re: [Gambas-user] Gridview icon detection

2017-01-19 Thread Fabien Bodard
Ok this is my fault as i've not tested my code ... so i've forgot to little things This is so the working code : Private aMyValues As New String[] Private aMyStates As New Integer[] Private aMyPicState As New Picture[3] Public Sub _New() aMyPicState[0] = Picture["img/checked.png"]

Re: [Gambas-user] Gridview icon detection

2017-01-18 Thread Gianluigi
Hi Fabien, I did not understand if you answer the question by Olivier or to that of the Spanish forum. Your code am not able to make it work, sorry, you can have a look? Regarding the new question by Olivier am attaching a possible solution, always it comes from Shordi code. Regards Gianluigi

Re: [Gambas-user] Gridview icon detection

2017-01-18 Thread Fabien Bodard
Maybe the best will beto use 2 column... one for the icon and one for the text. The problem of many users is they want to use the gridview as a data container. Better way will be to have 2 array or an array of class with two value. Private aMyValues as New String[] private aMyStates as new

Re: [Gambas-user] Gridview icon detection

2017-01-18 Thread Gianluigi
You mean something like that: Public Sub GridView1_Click() ' From the Shordi's code, look here https://www.gambas-es.org/show_post.php?p=34694 With GridView1 If .Column = 0 Then ' Columns with CheckBox If .Current.Picture =

[Gambas-user] Gridview icon detection

2017-01-18 Thread Yahoo
Hello, In one of my project I use icons in a GridView object to indicate if a line is ‘checked’ or not and for the moment a double click on these lines can change this state as ‘Checked’ or 'Not Checked’. Would anyone know if it's possible to detect if the user click specifically on the icon

Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Rolf-Werner Eilert
Good idea! Thank you! Rolf Am 23.02.2016 15:31, schrieb Fabien Bodard: > Just make a Private function : > > Private Function GridViewCurrentY() as integer > >return GridView.Current.Y - GridView.ScrollY + GridView.ClientY > > end > > > IN > > GridView.Row = Hour(Now) > > baines.Y =

Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Fabien Bodard
Just make a Private function : Private Function GridViewCurrentY() as integer return GridView.Current.Y - GridView.ScrollY + GridView.ClientY end IN GridView.Row = Hour(Now) baines.Y = GridView.Y + GridView.Current.Y + ((GridView.Current.Height / 60) * Minute(Now)) REPLACE ALL

Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Rolf-Werner Eilert
Am 23.02.2016 12:56, schrieb Benoît Minisini: > Le 23/02/2016 12:49, Rolf-Werner Eilert a écrit : >>> GridView.Current.Y - GridView.ScrollY + GridView.ClientY should do the >>> job. It returns the top cell relative to the GridView top. >>> >> Wow, that's tricky :) But it runs, so thank you very

Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Benoît Minisini
Le 23/02/2016 12:49, Rolf-Werner Eilert a écrit : >> GridView.Current.Y - GridView.ScrollY + GridView.ClientY should do the >> job. It returns the top cell relative to the GridView top. >> > > Wow, that's tricky :) But it runs, so thank you very much! > > Regards > Rolf > It's not tricky, it's

Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Rolf-Werner Eilert
Am 23.02.2016 12:39, schrieb Benoît Minisini: > Le 22/02/2016 17:43, Rolf-Werner Eilert a écrit : >> Currently, I'm porting an old calendar project from Gambas2 to Gambas3. >> >> There is a GridView which shows days and times. It has 24 rows, so in >> order to show a Baines Line, the code was >>

Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Benoît Minisini
Le 22/02/2016 17:43, Rolf-Werner Eilert a écrit : > Currently, I'm porting an old calendar project from Gambas2 to Gambas3. > > There is a GridView which shows days and times. It has 24 rows, so in > order to show a Baines Line, the code was > > GridView.Row = Hour(Now) > > baines.Y = GridView.Y +

Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Rolf-Werner Eilert
To make things clearer: What my program needs is Y coordinates relative to the upper edge of the GridView, not relative to the grid's upper edge (which may be scrolled to somewhere above under the GridView's upper edge). Regards Rolf Am 23.02.2016 11:17, schrieb Charlie: > What's a Baines

Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Rolf-Werner Eilert
Ah, ok... :) It's not so important for this topic, but: Have you seen a calendar application which has a hovering thin horizontal line showing the hour + minute graphically above the day's dates? That's a Baines Line. Maybe named after its inventor? But there are other elements which are shown

Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Charlie
What's a Baines Line? -- View this message in context: http://gambas.8142.n7.nabble.com/GridView-and-Current-Y-tp55508p55509.html Sent from the gambas-user mailing list archive at Nabble.com. -- Site24x7 APM Insight:

[Gambas-user] GridView and Current.Y

2016-02-22 Thread Rolf-Werner Eilert
Currently, I'm porting an old calendar project from Gambas2 to Gambas3. There is a GridView which shows days and times. It has 24 rows, so in order to show a Baines Line, the code was GridView.Row = Hour(Now) baines.Y = GridView.Y + GridView.Current.Y + ((GridView.Current.Height / 60) *

Re: [Gambas-user] Gridview

2015-12-12 Thread Charlie
This works for me:- /Public Sub Form_Open() Dim sNetwork As String With GridView1 .Columns.Count = 1 .Rows.Count = 1 End With GridView1[0, 0].text = "Hello" GridView1[0, 0].Font.Strikeout = True End/ -- View this message in context:

Re: [Gambas-user] Gridview

2015-12-12 Thread Buster Seven
ok so what i found was first you have to set the text then the strikeout What i was doing was if canceled gridview1.font.strikeout=true end gridview1[0,0].text="hello" this used to work for me and over the whole row now i have to set each column :-( anyway thanks for the example On Sat,

Re: [Gambas-user] GridView - Width of row header

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 13:14, Rolf-Werner Eilert a écrit : > > Arrgh - Thank you! > > Why didn't I find that? Maybe one reason was that the automatic only > shows GridView.Row and reacts only when you type the 's.' "blindly", and > then shows the list again. So I couldn't find it from trying. > > But it's

Re: [Gambas-user] GridView - Width of row header

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 12:13, Rolf-Werner Eilert a écrit : > No one here who knows how to achieve this? > > Regards > Rolf > > Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert: >> In an older project with Gambas2, I needed to pick the X position of the >> cells. The GridView has Headers = Both. It seems it

Re: [Gambas-user] GridView - Width of row header

2015-12-11 Thread Rolf-Werner Eilert
No one here who knows how to achieve this? Regards Rolf Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert: > In an older project with Gambas2, I needed to pick the X position of the > cells. The GridView has Headers = Both. It seems it started counting > with 0 at the first white column, i. e.

Re: [Gambas-user] Gridview

2015-12-11 Thread adamn...@gmail.com
On Sat, 12 Dec 2015 07:01:14 +0100 Fabien Bodard wrote: > can you send me a short example that show the poblem ... i can't reproduce it > > 2015-12-12 5:51 GMT+01:00 Buster Seven : > > Its not exacly how i want to fix it but i can handle that > > so

Re: [Gambas-user] Gridview

2015-12-11 Thread Buster Seven
Its not exacly how i want to fix it but i can handle that so is this no longer how it's ment to work? Thanks On Wed, Dec 9, 2015 at 7:54 PM, Rolf-Werner Eilert < eilert-sprac...@t-online.de> wrote: > > Am 09.12.2015 09:44, schrieb Buster Seven: > > I use to be able to do this code

Re: [Gambas-user] Gridview

2015-12-11 Thread Fabien Bodard
can you send me a short example that show the poblem ... i can't reproduce it 2015-12-12 5:51 GMT+01:00 Buster Seven : > Its not exacly how i want to fix it but i can handle that > so is this no longer how it's ment to work? > > Thanks > > > On Wed, Dec 9, 2015 at 7:54 PM,

[Gambas-user] Gridview

2015-12-09 Thread Buster Seven
I use to be able to do this code GridView1.Font.Strikeout = True and the row in the gridview would be strikedout but it no longer works any ideas. [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=3.16.0-38-generic Architecture=x86_64 Distribution=Linux Mint 17.2 Rafaela Desktop=MATE Theme=Gtk

Re: [Gambas-user] Gridview

2015-12-09 Thread Rolf-Werner Eilert
Am 09.12.2015 09:44, schrieb Buster Seven: > I use to be able to do this code GridView1.Font.Strikeout = True > and the row in the gridview would be strikedout but it no longer works > any ideas. > > > I just had this problem a few days ago, and after searching for a long time it turned out

[Gambas-user] GridView - Width of row header

2015-12-09 Thread Rolf-Werner Eilert
In an older project with Gambas2, I needed to pick the X position of the cells. The GridView has Headers = Both. It seems it started counting with 0 at the first white column, i. e. behind the row header, so never mind how wide the header was, it would always find the correct position. In

[Gambas-user] GridView and RichText

2015-11-27 Thread Rolf-Werner Eilert
In a GridView, I have this line (and similar ones) in the Data event: tbk.Data.RichText = "" & ktText[Row] & "" But it doesn't do anything to the text. Here the text should be italics, bold and blue. What am I doing wrong? Regards Rolf

Re: [Gambas-user] GridView Row Height

2015-03-14 Thread adamn...@gmail.com
WARNING : Thread steal :-) While we're on the subject (almost)... Is there any way to set the row height in a column view. I have tried the -1 trick on everything I can see including the hidden objects to no avail. regards bruce -- B Bruen adamn...@gnail.com (sort of)

[Gambas-user] GridView Row Height

2015-03-14 Thread Nikola Rogozarski
Hello guys! Is there an example of how to setup the height of a row of a GridView, depending on the length of the content. I do not see properties of auto height. When filling the GridView I did this, For Each result GridView1[i,2].text = result!description GridView1[i,2].WordWrap = true inc i

Re: [Gambas-user] GridView Row Height

2015-03-14 Thread Nikola Rogozarski
Thank's Fabien, I tried it, but it appears the following error : '_GridView1_Cell.Height ' Is read only On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard gambas...@gmail.com wrote: Le 14 mars 2015 12:36, Nikola Rogozarski n.rogozar...@gmail.com a écrit : Hello guys! Is there an example of

Re: [Gambas-user] GridView Row Height

2015-03-14 Thread Fabien Bodard
Oups Try Gridview1.rows[i].Height=-1 Le 14 mars 2015 18:13, Nikola Rogozarski n.rogozar...@gmail.com a écrit : Thank's Fabien, I tried it, but it appears the following error : '_GridView1_Cell.Height ' Is read only On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard gambas...@gmail.com wrote:

Re: [Gambas-user] GridView Row Height

2015-03-14 Thread Tobias Boege
On Sat, 14 Mar 2015, Nikola Rogozarski wrote: On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard gambas...@gmail.com wrote: Le 14 mars 2015 12:36, Nikola Rogozarski n.rogozar...@gmail.com a ??crit : Hello guys! Is there an example of how to setup the height of a row of a GridView,

Re: [Gambas-user] GridView Row Height

2015-03-14 Thread Nikola Rogozarski
O Yes, that's it. Thanks a lot !!! On Sat, Mar 14, 2015 at 6:28 PM, Fabien Bodard gambas...@gmail.com wrote: Oups Try Gridview1.rows[i].Height=-1 Le 14 mars 2015 18:13, Nikola Rogozarski n.rogozar...@gmail.com a écrit : Thank's Fabien, I tried it, but it appears the following error

Re: [Gambas-user] GridView Row Height

2015-03-14 Thread Fabien Bodard
Le 14 mars 2015 12:36, Nikola Rogozarski n.rogozar...@gmail.com a écrit : Hello guys! Is there an example of how to setup the height of a row of a GridView, depending on the length of the content. I do not see properties of auto height. When filling the GridView I did this, For Each result

Re: [Gambas-user] Gridview cell coordinates

2015-01-03 Thread bill-lancaster
Thanks for the several ideas. The example from Ru works except when the user scrolls down, then the balloon is placed well below the gridview control because the cell position has moved relative to the control. Using the GridView[Row, Column].EnsureVisible() has the same problem. BTW the control

Re: [Gambas-user] Gridview cell coordinates

2015-01-03 Thread Fabien Bodard
Hi randall, Is the balloon can be in the gridview control ? Like balloon in googlemap ? Le 3 janv. 2015 09:49, bill-lancaster bill-lancas...@lineone.net a écrit : Thanks for the several ideas. The example from Ru works except when the user scrolls down, then the balloon is placed well below

Re: [Gambas-user] Gridview cell coordinates

2015-01-03 Thread bill-lancaster
Sorry about this, I thought I'd tried this already - it works fine Public Sub GridView1_MouseDown() Balloon.Info(GridView1[GridView1.Row, GridView1.Column].Text, GridView1, Mouse.X, Mouse.Y) End -- View this message in context:

Re: [Gambas-user] Gridview cell coordinates

2015-01-03 Thread Fabien Bodard
You can play with that too. In this example, i show how to make an internal balloon directly in the gridview 2015-01-03 17:54 GMT+01:00 bill-lancaster bill-lancas...@lineone.net: Sorry about this, I thought I'd tried this already - it works fine Public Sub GridView1_MouseDown()

Re: [Gambas-user] Gridview cell coordinates

2015-01-02 Thread Charlie Reinl
Am Freitag, den 02.01.2015, 10:48 -0700 schrieb bill-lancaster: I want to position a balloon by the gridview cell that was right clicked. It is necessary to scroll down to the lower rows. I'm struggling with this so any suggestion as to the best way to do this would be welcome. Salut Bill,

Re: [Gambas-user] Gridview cell coordinates

2015-01-02 Thread Tobias Boege
On Fri, 02 Jan 2015, bill-lancaster wrote: I want to position a balloon by the gridview cell that was right clicked. It is necessary to scroll down to the lower rows. I'm struggling with this so any suggestion as to the best way to do this would be welcome. I think you can use GridView[Row,

[Gambas-user] Gridview cell coordinates

2015-01-02 Thread bill-lancaster
I want to position a balloon by the gridview cell that was right clicked. It is necessary to scroll down to the lower rows. I'm struggling with this so any suggestion as to the best way to do this would be welcome. -- View this message in context:

Re: [Gambas-user] Gridview sort function

2014-12-29 Thread T Lee Davidson
Bill, my message asking if it helped was delivered after yours due to the mailing list issue. Glad it helped :-) Thanks to Bruce for clearing that up. Lee __ Artificial Intelligence is no match for natural stupidity. On 12/25/2014 04:04 AM, bill-lancaster wrote: Bruno and Lee, thank

Re: [Gambas-user] Gridview sort function

2014-12-28 Thread T Lee Davidson
On 12/24/2014 05:40 PM, B Bruen wrote: On Wed, 24 Dec 2014 11:57:11 -0500 T Lee Davidson t.lee.david...@gmail.com wrote: Apparently I didn't take enough time, Bill. I only tested that the text of the TextBox changed appropriately for a column_click, I did not test clicking Button1. You

Re: [Gambas-user] Gridview sort function

2014-12-28 Thread bill-lancaster
Bruno and Lee, thank you for the Christmas present! Bill -- View this message in context: http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863p49878.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] Gridview sort function

2014-12-24 Thread bill-lancaster
Thanks for taking the time Lee, In fact I made that error when composing a simple example, my main programme didn't have that error. To make things simple for myself I toggle a boolean value every time the gridview1_ColumnClick event occurs rather than use the Ascending value. Thanks again Bill

Re: [Gambas-user] Gridview sort function

2014-12-24 Thread T Lee Davidson
Apparently I didn't take enough time, Bill. I only tested that the text of the TextBox changed appropriately for a column_click, I did not test clicking Button1. You are right. The value of TableView.Columns.Ascending within the Column_Click event does not agree with the value outside of the

Re: [Gambas-user] Gridview sort function

2014-12-24 Thread Charlie Reinl
Am Mittwoch, den 24.12.2014, 11:57 -0500 schrieb T Lee Davidson: Apparently I didn't take enough time, Bill. I only tested that the text of the TextBox changed appropriately for a column_click, I did not test clicking Button1. You are right. The value of TableView.Columns.Ascending within

Re: [Gambas-user] Gridview sort function

2014-12-24 Thread B Bruen
On Wed, 24 Dec 2014 11:57:11 -0500 T Lee Davidson t.lee.david...@gmail.com wrote: Apparently I didn't take enough time, Bill. I only tested that the text of the TextBox changed appropriately for a column_click, I did not test clicking Button1. You are right. The value of

[Gambas-user] Gridview sort function

2014-12-23 Thread bill-lancaster
After setting the sort option (TableView1.Sorted = True) does a click on a column change the state of TableView1.Columns.Sort or do I need to change it myself? -- View this message in context: http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863.html Sent from the gambas-user

Re: [Gambas-user] Gridview sort function

2014-12-23 Thread T Lee Davidson
A column-click changes the state of TableView.Columns.Sort. But that value appears to be one click behind which the following code shows: Public Sub TableView1_ColumnClick(Column As Integer) Print Column, TableView1.Columns.Sort End Lee __ Artificial Intelligence is no match for

Re: [Gambas-user] Gridview sort function

2014-12-23 Thread bill-lancaster
Thanks for that Lee, Please see the attached example. The result of the column_click event does not agree with the results of button1_click which reports on the state of .Ascending. In fact after two column_clicks there is no change of state with the Ascending property with the column_click

Re: [Gambas-user] Gridview sort function

2014-12-23 Thread T Lee Davidson
This code: Public Sub TableView1_ColumnClick(Column As Integer) TextBox1.Text = column = Column sort = If TableView1.Columns.Sort Then TextBox1.Text = Asc Else TextBox1.Text = Desc Endif End uses the wrong property. TableView1.Columns.Sort

Re: [Gambas-user] GridView not setting Row Column on right-click Menu event

2014-08-27 Thread Benoît Minisini
Le 07/08/2014 00:43, DaveOxford1 a écrit : Hi All When right-clicking on a GridView, .Row and .Column are not set to the values for the new cell in the Menu event (as they in the Click event for a left-click). Is this a bug or the intended behaviour? If it /is/ the intended behaviour, how

Re: [Gambas-user] GridView not setting Row Column on right-click Menu event

2014-08-07 Thread Shane
hi Dave i came across this an hour ago myself what i did was Public mX As Integer Public mY As Integer Public Sub GridView1_MouseMove() mX = Mouse.X mY= Mouse.Y End then you can use Public Sub GridView1_Menu() Row = GridView1.RowAt(mY) Col = GridView1.ColumnAt(mX) End hope

Re: [Gambas-user] GridView not setting Row Column on right-click Menu event

2014-08-07 Thread DaveOxford1
Many thanks, Shane! I didn't know about RowAt ColumnAt - very useful. Dave -- View this message in context: http://gambas.8142.n7.nabble.com/GridView-not-setting-Row-Column-on-right-click-Menu-event-tp47692p47698.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] GridView not setting Row Column on right-click Menu event

2014-08-06 Thread DaveOxford1
Hi All When right-clicking on a GridView, .Row and .Column are not set to the values for the new cell in the Menu event (as they in the Click event for a left-click). Is this a bug or the intended behaviour? If it /is/ the intended behaviour, how can I ascertain the Row and Column values? Hope

[Gambas-user] GridView changing Columns[].Width

2014-02-25 Thread Rolf-Werner Eilert
When I have a GridView with several Columns and I set automatic for the Column Width (gridview.Columns[x].Width = -1), it seems I cannot change back to a defined width programmatically later. So if I set gridview.Columns[x].Width = 10, nothing happens. The user, however, can drag the column

Re: [Gambas-user] GridView changing Columns[].Width

2014-02-25 Thread Rolf-Werner Eilert
Sorry, there was another reason: I forgot to set the flag for controlling the column width in the function - now everything works as expected. Didn't mean to bother you with this Regards Rolf Am 25.02.2014 10:37, schrieb Rolf-Werner Eilert: When I have a GridView with several Columns and I

Re: [Gambas-user] gridview column clicked indicator

2014-02-07 Thread Jorge Carrión
Just click on title bar... Regards 2014-02-06 bill-lancaster bill-lancas...@lineone.net: Thanks Jorge, can the indicator be changed to point up as well as down? -- View this message in context: http://gambas.8142.n7.nabble.com/gridview-column-clicked-indicator-tp45567p45570.html Sent

Re: [Gambas-user] gridview column clicked indicator

2014-02-07 Thread bill-lancaster
Oh! I should pay better attention. Thanks again -- View this message in context: http://gambas.8142.n7.nabble.com/gridview-column-clicked-indicator-tp45567p45583.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] gridview column clicked indicator

2014-02-06 Thread bill-lancaster
I thought I had seen an added feature to gridview where the ColumnClick event results in a small indicator in the column header but can't find it now. Anyway, such a feature would be helpful to show which column in a table had been sorted (and also if 'up' or 'down' sorted). Any ideas? -- View

Re: [Gambas-user] gridview column clicked indicator

2014-02-06 Thread Jorge Carrión
Try simply myGridview.sorted=true Then a indicator appears on title anch changes on click. You must provide de sort routine by yourself. Regards 2014-02-06 bill-lancaster bill-lancas...@lineone.net: I thought I had seen an added feature to gridview where the ColumnClick event results in a

Re: [Gambas-user] gridview column clicked indicator

2014-02-06 Thread bill-lancaster
Thanks Jorge, can the indicator be changed to point up as well as down? -- View this message in context: http://gambas.8142.n7.nabble.com/gridview-column-clicked-indicator-tp45567p45570.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] GridView question

2014-01-03 Thread Charlie Reinl
Am Freitag, den 03.01.2014, 01:19 +0100 schrieb Benoît Minisini: Look at the Rows.Width and Columns.Height properties. I thought it was not hard to find... but it was, if you don't search 'gambas3 height of the column header' but 'gambas3 column header height' Thanks for the advice. --

[Gambas-user] GridView question

2014-01-02 Thread Charlie Reinl
oh, Michael said 'you are not alone', may be I am? Nobody ? Salut, where can I find the Row-headers.Width and Column-headers.Height, for finally place my Editor right to the cell... Or missed I something? This code With GV1[GV1.Row, 1] cbxFName.Move(GV1.X + .X , GV1.Y + .Y , .Width,

Re: [Gambas-user] GridView question

2014-01-02 Thread Benoît Minisini
Le 02/01/2014 23:20, Charlie Reinl a écrit : oh, Michael said 'you are not alone', may be I am? Nobody ? Salut, where can I find the Row-headers.Width and Column-headers.Height, for finally place my Editor right to the cell... Or missed I something? This code With GV1[GV1.Row, 1]

[Gambas-user] Gridview

2014-01-01 Thread Shane
what is needed to get word warp height resizing working ? this is what i have GridView1.Rows[Index].Height = -1 GridView1[Index, 0].WordWrap = True so wordwarp works but the height is not resized -- Rapidly troubleshoot

Re: [Gambas-user] Gridview

2014-01-01 Thread Bruce
On Thu, 2014-01-02 at 14:34 +1100, Shane wrote: what is needed to get word warp height resizing working ? this is what i have GridView1.Rows[Index].Height = -1 GridView1[Index, 0].WordWrap = True so wordwarp works but the height is not resized

Re: [Gambas-user] Gridview

2014-01-01 Thread Bruce
On Thu, 2014-01-02 at 14:53 +1030, Bruce wrote: On Thu, 2014-01-02 at 14:34 +1100, Shane wrote: what is needed to get word warp height resizing working ? this is what i have GridView1.Rows[Index].Height = -1 GridView1[Index, 0].WordWrap = True so wordwarp works but the height is

[Gambas-user] GridView question

2013-12-30 Thread Charlie Reinl
Salut, where can I find the Row-headers.Width and Column-headers.Height, for finally place my Editor right to the cell... Or missed I something? This code With GV1[GV1.Row, 1] cbxFName.Move(GV1.X + .X , GV1.Y + .Y , .Width, .Height) /code works well without headers. -- Amicalement Charlie

[Gambas-user] GridView, ColumnClick is not fired

2013-12-29 Thread Charlie Reinl
Salut Benoît, GridView, ColumnClick is not fired. so a click on Columns Header ends in Click and says the click was on row 0. attached a TEST-project -- Amicalement Charlie [System] Gambas=3.5.90 r6023 OperatingSystem=Linux Kernel=2.6.32-54-generic Architecture=x86 Distribution=Ubuntu

Re: [Gambas-user] GridView, ColumnClick is not fired

2013-12-29 Thread Benoît Minisini
Le 29/12/2013 17:40, Charlie Reinl a écrit : Salut Benoît, GridView, ColumnClick is not fired. so a click on Columns Header ends in Click and says the click was on row 0. attached a TEST-project It should be fixed in revision #6034. Regards, -- Benoît Minisini

[Gambas-user] Gridview Mode

2013-08-27 Thread Shane
I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object) [System] OperatingSystem=Linux Kernel=3.8.0-29-generic Architecture=x86_64 Distribution=Ubuntu 13.04 Desktop=XFCE Theme=QGtk Language=en_AU.UTF-8 Memory=3808M [Libraries]

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object) [System] OperatingSystem=Linux Kernel=3.8.0-29-generic Architecture=x86_64 Distribution=Ubuntu 13.04 Desktop=XFCE Theme=QGtk Language=en_AU.UTF-8

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object) [System] OperatingSystem=Linux Kernel=3.8.0-29-generic Architecture=x86_64 Distribution=Ubuntu 13.04

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object) [System] OperatingSystem=Linux Kernel=3.8.0-29-generic

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object) [System] OperatingSystem=Linux

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object)

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 18:52, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 20:02, Shane wrote: On 27/08/13 18:52, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 20:02, Shane wrote: On 27/08/13 18:52, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote:

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 20:25, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 20:02, Shane wrote: On 27/08/13 18:52, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote:

[Gambas-user] Gridview and wordwrapping/row heights (again)

2013-05-17 Thread Richard Terry
HI List, I've looked up the list achives on this and found a number of mails, and it seems one should be able to get the grid cells contents to wordwrap and the row height to expand to the right height to see all the text. However Im unsuccessful, having tried eg the cell wordwrap property

[Gambas-user] gridview

2013-05-15 Thread Shane
is there a way to set the background and foreground colour of a gridview row and when other is selected the previous one returns to it original colours or would this have to be done manually -- AlienVault Unified

Re: [Gambas-user] gridview

2013-05-15 Thread Fabien Bodard
Manually but it would be better if you use the _data event for filling so you can use flags -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security

Re: [Gambas-user] gridview row heights when cell is wrapped

2013-05-01 Thread Bruce
On Mon, 2013-04-29 at 17:09 +0200, Benoît Minisini wrote: \ Mmm, strange... Can you make a little project that reproduces the bug for me? [Repost: I don't know whether the reproduction project actually made it?] B demo_gvwheightissue-0.0.1.tar.gz Description: application/compressed-tar

Re: [Gambas-user] gridview row heights when cell is wrapped

2013-05-01 Thread Benoît Minisini
Le 01/05/2013 08:05, Bruce a écrit : On Mon, 2013-04-29 at 17:09 +0200, Benoît Minisini wrote: \ Mmm, strange... Can you make a little project that reproduces the bug for me? [Repost: I don't know whether the reproduction project actually made it?] B The problem comes from the fact that

  1   2   3   >