Re: [Gambas-user] Help with charset

2011-08-28 Thread Bruce Bruen
On Sun, 2011-08-28 at 05:29 -0500, xOChilpili wrote: > I hope not being rude Not at all! But I am going to have to go now, as my dinner is ready. I'll be back later or tomorrow. Bruce -- EMC VNX: the world's simplest st

Re: [Gambas-user] Help with charset

2011-08-28 Thread xOChilpili
Bruce: Sorry, maybe is my english --again-- ... I have read help pages, and i try really. I try using RowClick method but again, it works only clicking into a cell <>. Not in the Row Header. About the tblView.Cancel i simply dont know where to call it. In the save method? Thanks again. I hope n

Re: [Gambas-user] Help with charset

2011-08-28 Thread Bruce Bruen
On Sun, 2011-08-28 at 19:40 +0930, Bruce Bruen wrote: > blah, blah By the way, that post was hopefully sent as html and requires a html mail viewer to read it properly. Could someone tell me whether it was received and viewable as such? (Because I'm using a new mail client and I don't know wheth

Re: [Gambas-user] Help with charset

2011-08-28 Thread xOChilpili
Fabien: Here is the code: private sub tblView_Click() tblView.edit() end private sub tblView_Save(row as Integer, Column as integer, value as string) if tblView.Column = 3 then query="update table ..." tblView.Cancel <-- once updated the database i want to return into browse mode no more edi

Re: [Gambas-user] Help with charset

2011-08-28 Thread Bruce Bruen
On Sun, 2011-08-28 at 04:24 -0500, xOChilpili wrote: > Bruce: > > Yes, but ... I think that my english is too bad :( sorry... > > here is my tableview > __ > |___|_Col1_|_Col2_|_Col3_| > |_1_|_ |_ |__| > |_2_|_ |_ |__| > |_3 >^ <- user clicks h

Re: [Gambas-user] Help with charset

2011-08-28 Thread Fabien Bodard
2011/8/28 xOChilpili : > Bruce: > > Yes, but ... I think that my english is too bad :( sorry... > > here is my tableview > __ > |___|_Col1_|_Col2_|_Col3_| > |_1_|_ |_ |__| > |_2_|_ |_ |__| > |_3 >   ^ <- user clicks here. And in method tableView_Click

Re: [Gambas-user] Help with charset

2011-08-28 Thread xOChilpili
Bruce: Yes, but ... I think that my english is too bad :( sorry... here is my tableview __ |___|_Col1_|_Col2_|_Col3_| |_1_|_ |_ |__| |_2_|_ |_ |__| |_3 ^ <- user clicks here. And in method tableView_Click i have tableView.edit() So, i have two tr

Re: [Gambas-user] Help with charset

2011-08-28 Thread tobias
> Thanks it works now. But a have another question if i may... umm, apart from the other question, i had this problem very often and i usually remind me to use: Write #Stream, String, Len(String) then, which again works well. regards, tobi ---

Re: [Gambas-user] Help with charset

2011-08-28 Thread Bruce Bruen
On Sun, 2011-08-28 at 02:45 -0500, xOChilpili wrote: > Bruce: > > Thanks it works now. But a have another question if i may... > > I have a TableView control, and i want to get the "selected row" by the user > when he clicks on the row´s header. Is it possible ? > > Thanks for your help. > > xO

Re: [Gambas-user] Help with charset

2011-08-28 Thread xOChilpili
Bruce: Thanks it works now. But a have another question if i may... I have a TableView control, and i want to get the "selected row" by the user when he clicks on the row´s header. Is it possible ? Thanks for your help. xOCh -- -- Powered by xOCh 210 ---

Re: [Gambas-user] Help with charset

2011-08-27 Thread Bruce Bruen
On Sat, 2011-08-27 at 23:52 -0500, xOChilpili wrote: > dim hFile as File > hFile=OPEN "/home/xochilpili/test.txt" FOR APPEND > WRITE #hFile, "e" > CLOSE #hFile > > Use PRINT not WRITE. -- EMC VNX: the world's simplest

[Gambas-user] Help with charset

2011-08-27 Thread xOChilpili
Hi all i have some strange experience with open file for append in gambas2 heres my code dim hFile as File hFile=OPEN "/home/xochilpili/test.txt" FOR APPEND WRITE #hFile, "e" CLOSE #hFile xochilpili@localhost: cat test.txt output: 'e No matter if "e" is a String declared, always write in the fil