[Gambas-user] How to send data to SerialPort from Module?

2017-01-03 Thread abbat81
Hi all, on a form I have a Serial Port. If I can send a daa to SerialPort from Fmain: Print #Sport, Chr$(); Chr$(); Chr$(2); how can I do it from Module? -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-send-data-to-SerialPort-from-Module-tp58114.html Sent from the

[Gambas-user] How to Chr$(VARIABLE) as Chr$()

2016-12-30 Thread abbat81
Hi all, how to insert my variable in Chr$()? this doesn't work: Dim var as String var = "" & "80" Print #Sport, Chr$(var); Thannks in advance. -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-Chr-VARIABLE-as-Chr-H80-tp58096.html Sent from the gambas-user mailing

Re: [Gambas-user] Get Hex from Char using some Code Page

2016-12-29 Thread abbat81
Thank you for program. Help me pleat insert my variable into Chr$( _VARIABLE). For now I have: s866_ = "А" Print Hex(String.Code(s866_) - 912) 80 How to send in my Serial: Chr$( _VARIABLE) -- View this message in context:

[Gambas-user] Get Hex from Char using some Code Page

2016-12-22 Thread abbat81
Hi all, My code is big, so maybe Gambas can convert my char in CP866 to HEX? Here is a part of my code: Else If ch = "А" Then Print #Sport, Chr$(); Else If ch = "а" Then Print #Sport, Chr$(); Else If ch = "Б" Then Print #Sport, Chr$(); Else If ch = "б" Then Print #Sport,

Re: [Gambas-user] Create a Form like Panel on Desktop

2016-05-04 Thread abbat81
Hi Herberth, It was me who asked about: > > Is it possible to create form like panel (f.e. Lxpanel). Can you give a link to sourses of your Innova_Panel? Thanks in advance :) -- View this message in context:

Re: [Gambas-user] Create a Form like Panel on Desktop

2016-04-21 Thread abbat81
*Desktop.Height = (Screen.Height - CurrentPanel.Height)* How can I build my *FMain* to get next: *Desktop.Height = (Screen.Height - FMain.Height)* -- View this message in context: http://gambas.8142.n7.nabble.com/Create-a-Form-like-Panel-on-Desktop-tp56000p56015.html Sent from the

[Gambas-user] Create a Form like Panel on Desktop

2016-04-19 Thread abbat81
Hi all ! Is it possible to create form like panel (f.e. Lxpanel). If other apps windows maximize, their maximize according to my form-panel stay visible. Thank you in advance. -- View this message in context: http://gambas.8142.n7.nabble.com/Create-a-Form-like-Panel-on-Desktop-tp56000.html

[Gambas-user] Error message in 1 line PLEASE FIX IT !

2016-04-06 Thread abbat81
Many times i got red errror messages in one line which can't be read because it hides behind resolution of screen. I think it't time to fix it -- View this message in context: http://gambas.8142.n7.nabble.com/Error-message-in-1-line-PLEASE-FIX-IT-tp55850.html Sent from the gambas-user

Re: [Gambas-user] R: Label1.Foreground = Color("#FF0000"), How to?

2016-03-24 Thread abbat81
Dim col as string = "#FF" How to conver? CInt(Replace(st, "#", "&")) doesn't work Label1.Foreground = col -- View this message in context: http://gambas.8142.n7.nabble.com/R-Label1-Foreground-Color-FF-How-to-tp55763p55764.html Sent from the gambas-user mailing list archive at

[Gambas-user] Label1.Foreground = Color("#FF0000"), How to?

2016-03-24 Thread abbat81
How to use HTML color like #FF -- View this message in context: http://gambas.8142.n7.nabble.com/Label1-Foreground-Color-FF-How-to-tp55761.html Sent from the gambas-user mailing list archive at Nabble.com. --

[Gambas-user] Show files in a FileView wit limited file size

2016-03-21 Thread abbat81
Is there any way to show files in FileView with limited size? For example, I need to show files <100Mb? Thanks in advance -- View this message in context: http://gambas.8142.n7.nabble.com/Show-files-in-a-FileView-wit-limited-file-size-tp55742.html Sent from the gambas-user mailing list

Re: [Gambas-user] Get html tags from RichText

2016-03-19 Thread abbat81
Yes, it works, thank you! :) -- View this message in context: http://gambas.8142.n7.nabble.com/Get-html-tags-from-RichText-tp55710p55712.html Sent from the gambas-user mailing list archive at Nabble.com. -- Transform

[Gambas-user] Get html tags from RichText

2016-03-18 Thread abbat81
There is a RichText in my TableView.Cell.RichText Can I get source of that content? (I need to know what color ther is.) Thanks in advance -- View this message in context: http://gambas.8142.n7.nabble.com/Get-html-tags-from-RichText-tp55710.html Sent from the gambas-user mailing list archive

[Gambas-user] MediaView1.URL cannot set status

2016-03-09 Thread abbat81
Hi, can you help me: MediaView1.URL = "http://apasfiisl.apa.at/ipad/orf3_q4a/orf.sdp/playlist.m3u8; MediaView1.Play I get: "cannot set status" In console: " (video:5273): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed (video:5273):

[Gambas-user] Example of Video Strem

2016-03-08 Thread abbat81
Hi all, I want to ask anyone to create very useful the example, I'm not too strong to create it by myself. Video Stream using webcam and Socket connection, stable to breaks connection (don't crash app.) (It can be not only Socket, which is only way for my knowledge) Please, can someone create

Re: [Gambas-user] R: (+auto) Line breaks in Tableview.Cell

2016-03-07 Thread abbat81
Thanks, that's it.Rows[0].Height = -1 -- View this message in context: http://gambas.8142.n7.nabble.com/R-auto-Line-breaks-in-Tableview-Cell-tp55607p55609.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] (+auto) Line breaks in Tableview.Cell

2016-03-06 Thread abbat81
Hi all, Tableview allows to use 1-2 line breaks, but if my richtext consist of 5-6 lines, my Tableview.Row doesn't show whole text. Also, is there any way to get auto break lines if string is too long for Tableview.Row? Thanks in advance -- View this message in context:

[Gambas-user] Different Foreground Color of a string in TableView.Cell

2016-03-05 Thread abbat81
Hi all, Is there any way to use different font.color in tableview.Cell. May be there is some way to use html tags? Thanks in advance :) -- View this message in context: http://gambas.8142.n7.nabble.com/Different-Foreground-Color-of-a-string-in-TableView-Cell-tp55597.html Sent from the

Re: [Gambas-user] R: Textbox transparent

2016-02-27 Thread abbat81
My Gambas 3.5.4 does not alow me transparent in your way. Thanks anyway -- View this message in context: http://gambas.8142.n7.nabble.com/R-Textbox-transparent-tp55540p55567.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] Textbox transparent

2016-02-25 Thread abbat81
Is there any way to get textbox transparent? -- View this message in context: http://gambas.8142.n7.nabble.com/Textbox-transparent-tp55538.html Sent from the gambas-user mailing list archive at Nabble.com. -- Site24x7

[Gambas-user] Control possition Foreground-Background

2015-10-18 Thread abbat81
How to move in code a control possition to over-under other controls? Thanks before. -- View this message in context: http://gambas.8142.n7.nabble.com/Control-possition-Foreground-Background-tp54127.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] TableView Row Select RMB

2015-10-16 Thread abbat81
How can I select a row in a Tableview using Right Mouse Button like Left Mouse Button? Thanks before -- View this message in context: http://gambas.8142.n7.nabble.com/TableView-Row-Select-RMB-tp54080.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] Gambas highlight

2015-08-11 Thread abbat81
Jesus wrote [*] Yes, it needs an update based on gambas3 brand new classes... Can you update those new classes in gambas.php ? -- View this message in context: http://gambas.8142.n7.nabble.com/Gambas-highlight-for-the-Web-tp52218p5.html Sent from the gambas-user mailing list archive

[Gambas-user] Gambas highlight

2015-08-10 Thread abbat81
Hi, is it possible to add Gambas syntax highlighting for the Web? I tried VBScript and VB.NET. It's not good for Gambas code. https://highlightjs.org/ -- View this message in context: http://gambas.8142.n7.nabble.com/Gambas-highlight-tp52218.html Sent from the gambas-user mailing list

[Gambas-user] LPT as GPIO Gambas Example

2015-05-24 Thread abbat81
Is it possible to make such a intresting Example? I'd say Thank you -- View this message in context: http://gambas.8142.n7.nabble.com/LPT-as-GPIO-Gambas-Example-tp51583.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] Now Now

2015-05-06 Thread abbat81
hs[banner1/last_upd] = Now() hs.Save - [banner1] last_upd=05/06/2015 18:04:22*.286* I need Printed: Print Now() - 05/06/2015 18:04:22 -- View this message in context: http://gambas.8142.n7.nabble.com/Now-Now-tp51465.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] R: How to know is my Form activated or not?

2015-05-05 Thread abbat81
http://gambas.8142.n7.nabble.com/file/n51457/2015-05-05-101559_1280x1024_scrot.png http://gambas.8142.n7.nabble.com/file/n51457/2015-05-05-101344_1280x1024_scrot.png -- View this message in context:

Re: [Gambas-user] R: How to know is my Form activated or not?

2015-05-04 Thread abbat81
Dim dw As DesktopWindow For Each dw In Desktop.Windows Print _ dw.VisibleName Next I got next: _ _ _ _ _ _ _ _ _ _ _ _ -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-know-is-my-Form-activated-or-not-tp51426p51453.html Sent from the

Re: [Gambas-user] R: How to know is my Form activated or not?

2015-05-03 Thread abbat81
Does not work in my project. dw.VisibleName is empty (Gambas 5.4.1, I cannot update, Ub 12.04) -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-know-is-my-Form-activated-or-not-tp51426p51445.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] How to use //.hidden/CHANGELOG

2015-05-03 Thread abbat81
Can you remind me please how to use CHANGELOG for a Project before making a new executeble file? -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-use-hidden-CHANGELOG-tp51446.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] IconView1.Picture does not work if IconView1.Count = 0

2015-05-02 Thread abbat81
After I've creared a IconView1 (IconView1.Clear) and I have nothing to display in the control. Anyway, I'd like to see a pevious backgroud picture in it. IconView1.Picture = Picture[pic.jpg] - does not work if IconView1.Count = 0 -- View this message in context:

[Gambas-user] How to know is my Form activated or not?

2015-05-02 Thread abbat81
In Event I use *Form_Activate()* and *Form_Deactivate()* But I need to have boolean Y/N when I ask. -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-know-is-my-Form-activated-or-not-tp51426.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] TextArea show first line of text

2015-05-01 Thread abbat81
By default TextArea.Text (.Insert) shows end of a text. How can I show text from begining? move to top? .Pos, .ToLine, etc - is not halpfull (text can have several lines + wraped) Thanks -- View this message in context:

[Gambas-user] How to get back my Gbr3 3.5.4 after updated

2015-04-01 Thread abbat81
How to install Gambas current ver? I get (Depends): gambas3-gb-jit (= 3.7.0-51.33~ubuntu12.04.1) Is there any way to get .deb package of gambas version I need? -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-get-back-my-Gbr3-3-5-4-after-updated-tp51216.html Sent

[Gambas-user] Play video

2015-03-10 Thread abbat81
Hi, I tried to play any video using example MoviePlayer 3.0.0 But nothing works. Is there any example to play video? Thanks. -- View this message in context: http://gambas.8142.n7.nabble.com/Play-video-tp50864.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] DateChooser mouse_scroll

2014-11-20 Thread abbat81
Hi in DateChooser control, as I think it must be fixed a vector of scrolling. Scrolling_UP_Month = Scrolling_UP_Day Scrolling_UP_Month -= 1 Scrolling_UP_Day-= 1 Scrolling_DOWN_Month += 1 Scrolling_DOWN_Day+= 1 Or invert. -- View this message in context:

[Gambas-user] How to get Count(Current_month).Days ?

2014-09-20 Thread abbat81
Hi, How can I get count of days in current month.year? In terminal I use: cal -m 02 2012 | xargs | sed 's/ /\n/g' | tail -n 1 But it doesn't work in Shell To *** Thanks -- View this message in context:

[Gambas-user] Gambas3 Text CodePage problem

2014-09-09 Thread abbat81
Hi, I've just installed Gambas3 on a fresh Lubuntu 12.04.5. And I got a problem. It's Ukrainian language. How to fix It? http://gambas.8142.n7.nabble.com/file/n48028/2014-09-09-150043_1280x1024_scrot.png -- View this message in context:

Re: [Gambas-user] Gambas3 Text CodePage problem

2014-09-09 Thread abbat81
LC_IDENTIFICATION=uk_UA.UTF-8 LC_ALL= Tobias Boege-2 wrote On Tue, 09 Sep 2014, abbat81 wrote: Hi, I've just installed Gambas3 on a fresh Lubuntu 12.04.5. And I got a problem. It's Ukrainian language. How to fix It? lt;http://gambas.8142.n7.nabble.com/file/n48028/2014-09-09

Re: [Gambas-user] WebView - Image/Picture.Save

2014-09-07 Thread abbat81
How can I use fixed revision #6444 ? -- View this message in context: http://gambas.8142.n7.nabble.com/WebView-Image-Picture-Save-tp47916p47984.html Sent from the gambas-user mailing list archive at Nabble.com. --

Re: [Gambas-user] WebView can not Reload/Refresh

2014-09-05 Thread abbat81
And where is cach for WebView1? How can I clear it? This is very bad way: Shell rm -rf Shell$(WebSettings.Cache.Path) / * Wait -- View this message in context: http://gambas.8142.n7.nabble.com/WebView-can-not-Reload-Refresh-tp47918p47952.html Sent from the gambas-user mailing list archive

Re: [Gambas-user] I-Nex - Nice Gambas Program

2014-09-05 Thread abbat81
http://gambas.8142.n7.nabble.com/file/n47953/2014-09-05-130514_1280x1024_scrot.png -- View this message in context: http://gambas.8142.n7.nabble.com/I-Nex-Nice-Gambas-Program-tp47947p47953.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] WebView can not Reload/Refresh

2014-09-05 Thread abbat81
Thanks Benoît, how can I use it now? I have a Gambas 3.5.1 and I get Unknown symbol Clear . If I update my Gambas to 3.5.4 - will I get the WebSettings.Cache.Clear() ? I'd clear the cache by myself but WebSettings.Cache.Path gives me nothing Regards. -- View this message in context:

Re: [Gambas-user] WebView can not Reload/Refresh

2014-09-05 Thread abbat81
Thanks Antonio, I downloded the attachment and I could not any solution in your link. Can tou tell me here? how to relod WebView? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/WebView-can-not-Reload-Refresh-tp47918p47959.html Sent from the gambas-user mailing list

Re: [Gambas-user] WebView can not Reload/Refresh

2014-09-05 Thread abbat81
Benoît, I have a Form1 and Form2, which has that cahed WebView1. How can I Close-Quit-Kill a Form2 with WebView1 to drop WebView1. I mean, how to Close Form2 from Form1 to get new content in Form2.WebView1 openin next time Form2? Thanks -- View this message in context:

Re: [Gambas-user] Webview history cache

2014-09-03 Thread abbat81
Thanks for: Shell rm -rf Shell$(WebSettings.Cache.Path) / * Wait Now, I've lost all my data in ~/* crazy day(( -- View this message in context: http://gambas.8142.n7.nabble.com/Webview-history-cache-tp28915p47928.html Sent from the gambas-user mailing list archive at

Re: [Gambas-user] R: Font style in Printing Example

2014-09-02 Thread abbat81
Randall, I didn't give any attachment because this is the Example Printing, which everybody can open in his own Gambas. Thanks in advance. -- View this message in context: http://gambas.8142.n7.nabble.com/Font-style-in-Printing-Example-tp47901p47913.html Sent from the gambas-user mailing

[Gambas-user] WebView - Image/Picture.Save

2014-09-02 Thread abbat81
Hi, Is it possible to transfer a WebView content to Image or Picture? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/WebView-Image-Picture-Save-tp47916.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] WebView can not Reload/Refresh

2014-09-02 Thread abbat81
Hi, AIfter once WebView loaded a content I can't renew those content which is changed. Public Sub Button1_Click() Webview_Form.Show WebView1.Html = file:///home/admin/999.jpg End Then: Webview_Form.Close Then: Change the 999.jpg Then again: Button1_Click() And here we have

[Gambas-user] Font style in Printing Example

2014-09-01 Thread abbat81
Hi, There is molly-malone.txt with some tags like: p br/ In Gambas it is marked as Html, but how can I set align=center? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Font-style-in-Printing-Example-tp47901.html Sent from the gambas-user mailing list archive at

Re: [Gambas-user] R: Font style in Printing Example

2014-09-01 Thread abbat81
It must be joke Thanks anyway -- View this message in context: http://gambas.8142.n7.nabble.com/Font-style-in-Printing-Example-tp47901p47903.html Sent from the gambas-user mailing list archive at Nabble.com. --

[Gambas-user] How to use WBrowser.Print(True)

2014-09-01 Thread abbat81
Hi, I want to print HTML by WBrowser.Print(True) but I get: Unknown symbol 'Print' in class in WebView WebVew is created: Private WBrowser As WebView WBrowser = New WebView(FPreview) How to fix it to print HTML ? Thanks -- View this message in context:

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-28 Thread abbat81
Hi Jussi, Draw.Begin(PictureBox1) - Not a printable object Draw.Begin(PictureBox1.Picture) - Null Object Any idea? Thanks for reply. -- View this message in context: http://gambas.8142.n7.nabble.com/DrawingArea-to-Picture-or-Image-tp47850p47874.html Sent from the gambas-user mailing

[Gambas-user] DrawingArea to Picture or Image

2014-08-27 Thread abbat81
Hi, I tried to use BarCode Example to make a picture or image with barcode. But I can't do it Can you help me? Thanks. Public Sub Button1_Click() Dim hPicture As New Picture(DrawingArea1.W, DrawingArea1.H) PictureBox1.Picture = hPicture End -- View this message in context:

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-27 Thread abbat81
Thank you Tobi, But I could not understand it. Can you tell what to add to BarCode Example to reprint drawingarea image/picture to PictureBox1? Thaks in advance. -- View this message in context: http://gambas.8142.n7.nabble.com/DrawingArea-to-Picture-or-Image-tp47850p47854.html Sent

Re: [Gambas-user] ComboBox not editable + Combopbox_Change Event

2014-05-31 Thread abbat81
How to prevent editing any text in a ComboBox ? I can do it by ReadOnly, but at I lose Combobox_Change Event. So, how to prevent editing any text in a ComboBox ? -- View this message in context: http://gambas.8142.n7.nabble.com/ComboBox-not-editable-Combopbox-Change-Event-tp46748p46768.html

[Gambas-user] data exchange at real time

2014-05-24 Thread abbat81
Is there any way to make data exchange at real time via internet between 2 copies of apps. Something like stream... Any sample would be very good. Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/data-exchange-at-real-time-tp46667.html Sent from the gambas-user

[Gambas-user] How to get is a Form Opened or Form is Closed?

2014-05-16 Thread abbat81
How to get is a Form Opened or Form is Closed? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-get-is-a-Form-Opened-or-Form-is-Closed-tp46529.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] How to lock (all controls) Form1 while Form2.Show = True?

2014-05-15 Thread abbat81
I want my Form1 to be untouchable untill Form2 is not Closed. If Form1_KeyPress, then show Form2 if it is Minimized. -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-lock-all-controls-Form1-while-Form2-Show-True-tp46519.html Sent from the gambas-user mailing list

[Gambas-user] [TableView1.Edit] How to Save and ESC(key) by pressing ENTER

2014-05-09 Thread abbat81
After TableView1.Edit I need to leave TableView1 to be SELECTED full TableView.Row. (edited cell too) But now, after I pressed ENTER button TableView.Cell is in Edit mode, so, how I can make it to leave tableView completly like pressing ESC button. Thanks in advance -- View this message in

[Gambas-user] Form.Show by name as string of form

2014-04-28 Thread abbat81
Hi, I have a four forms in my project: Form_name_1 Form_name_2 Form_name_3 Form_name_4 Form_name_5 How can I show a form by name of a form by string. Public Sub Button1_Click() Dim Form_name As String = Form_name_2 Form_name.Show End -- View this message in context:

Re: [Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread abbat81
Hi Vuott, can you help me with a little sample? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Form-Show-by-name-as-string-of-form-tp46270p46272.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread abbat81
Hi Stephen My forms already exists, so I can't use As New Form_Name_2 I need to use name of forms -- View this message in context: http://gambas.8142.n7.nabble.com/Form-Show-by-name-as-string-of-form-tp46270p46275.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread abbat81
Thank you, and how can I show some of forms. I have a name of form form2. So, how can I call that form2 in your example? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Form-Show-by-name-as-string-of-form-tp46270p46278.html Sent from the gambas-user mailing list

[Gambas-user] String Functions give different values at cyrillic / not-cyrillic

2014-04-28 Thread abbat81
Print Len(ii) ' not cyrillic Print Len(іі) ' cyrillic 10 20 How can I get correct value with cyrillic symbols? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/String-Functions-give-different-values-at-cyrillic-not-cyrillic-tp46282.html Sent from the

Re: [Gambas-user] How to set name of control

2014-04-11 Thread abbat81
I need not each of control but I need to set text to some of each controls, for example Textbox2.text. So, I have a digit from property of other control 2 How can I set a etxt to Textbox2.Text? -- View this message in context:

Re: [Gambas-user] How to set name of control

2014-04-11 Thread abbat81
Please, help to understand it. Dim Mycol As Collection Mycol[2] = TextBox2 =Null Object How to use it? I realy cant find any example of using a controls by names. Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-set-name-of-control-tp46134p46147.html Sent from

Re: [Gambas-user] How to set name of control

2014-04-11 Thread abbat81
The Textbox2 exist allready ((( -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-set-name-of-control-tp46134p46149.html Sent from the gambas-user mailing list archive at Nabble.com. -- Put Bad

Re: [Gambas-user] How to set name of control

2014-04-11 Thread abbat81
Thank you, finelly I got it. -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-set-name-of-control-tp46134p46152.html Sent from the gambas-user mailing list archive at Nabble.com. -- Put Bad

[Gambas-user] How to set name of control

2014-04-10 Thread abbat81
How to do this: Dim i as integer For i = 1 to 3 Textbox[i].Text = i ' Textbox1.Text, Textbox2.Text and Textbox3.Text Next Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-set-name-of-control-tp46134.html Sent from the gambas-user mailing list archive at

[Gambas-user] DateChooser1.Month = Month(Now()) = ERROR (Invalid date)

2014-02-01 Thread abbat81
I don't understand. It always worked good. But not today. DateChooser1.Month = Month(Now()) DateChooser1.Month = 2 Public Sub Button1_Click() DateChooser1.Month = 2 'Month(Now()) End = error (Invalid date) (2 and more time to press) DateChooser1.Month = 3 =OK I tjink it's a bug -- View

[Gambas-user] KeyPress Escape to close a form

2014-01-31 Thread abbat81
How to make an event for Key Press Escape button to close a form Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/KeyPress-Escape-to-close-a-form-tp45464.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] TableView (or GridView) .Height = 100% Control.Count

2014-01-26 Thread abbat81
http://gambas.8142.n7.nabble.com/file/n45377/123.png How to show all rows and to do not show white empty area if it is not needed. -- View this message in context: http://gambas.8142.n7.nabble.com/TableView-or-GridView-Height-100-Control-Count-tp45372p45377.html Sent from the gambas-user

[Gambas-user] Time(0, 0, 555) = invalid date

2013-12-21 Thread abbat81
Hi! I'm dissapointed. After my last Gambas update my programm do not work. I had a variable named match. My old program worked OK, but for now the var named match - is not allowed. It is not problem to rename the variables. The problem is in Time() function. My old programms get error and

[Gambas-user] Online radio with Shell

2013-12-01 Thread abbat81
Hi! Help me please. I want to make some small GUI app for online radio using Shell Here is sample string for terminal. *mplayer -cache 128 http://music.myradio.ua/trance_news128.mp3* How can I use it? Hext does not work: *Public Sub Form_Open() Dim a As String Shell mplayer -cache 128

Re: [Gambas-user] Online radio with Shell

2013-12-01 Thread abbat81
Hi Tobi, Can you explain or give example please? I don't understand how to use Print #$hMPlayer, sCommand I got: Unknown identifier #$hMPlayer How should I declare the #$hMPlayer? Thaks -- View this message in context:

Re: [Gambas-user] Online radio with Shell

2013-12-01 Thread abbat81
Hi Kendek, Thank you for your reply. Using your code I got a music. Also I have a information about playback in console of Gambas. Can I send that info to any GUI control? Thanks. :) -- View this message in context: http://gambas.8142.n7.nabble.com/Online-radio-with-Shell-tp44487p44491.html

Re: [Gambas-user] Online radio with Shell

2013-12-01 Thread abbat81
Tobi, thank you.. and excuse me please, but last question. How to start that process? Public Sub Button3_Click() _new() End Thanks, Peter -- View this message in context: http://gambas.8142.n7.nabble.com/Online-radio-with-Shell-tp44487p44493.html Sent from the gambas-user mailing list

Re: [Gambas-user] Online radio with Shell

2013-12-01 Thread abbat81
Tobi, here is the my code: Private $hMPlayer As Process Public Sub _new() $hMPlayer = Shell mplayer -slave -cache 128 http://music.myradio.ua/trance_news128.mp3 For Input Output As MPlayer End Public Sub btnStopPlayback_Click() Print #$hMPlayer, stop End Public Sub Button1_Click()

[Gambas-user] Different sizes of controls on differend distro

2013-08-26 Thread abbat81
Hi, I saw that problem before but now now I cant ignore it. I have a buttons which size is choosen according to picture size. My buttons size = 189 x 42 And during opening project now I got new sizes of buttons = 162 x 36 How can I build a programm when I don't know what the size to expect ?

[Gambas-user] How to Enable/Disable 55 buttons in a few string of code?

2013-08-25 Thread abbat81
Hi, Something like this: For i = 1 To 55 Button i .Enable = True Next Of course, this does not work. So what the way? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-Enable-Disable-55-buttons-in-a-few-string-of-code-tp42984.html Sent from the

[Gambas-user] mouse-over event for button control

2013-08-24 Thread abbat81
Hi, is there any way to get mouse-ovet event for button control? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/mouse-over-event-for-button-control-tp42980.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] How to get all string after last /

2013-08-22 Thread abbat81
Hi, I have a links with one and more /. example: http://www.link1.com/folder1/picture1.png http://www.link2.com/folder2/folder3/picture2_adv.png How to get picture1.png and picture2_adv.png from those links? Thanks -- View this message in context:

Re: [Gambas-user] how to disable temporally key combinartion (alt+F4 etc)

2013-08-22 Thread abbat81
It depends from your linux. Lubuntu or Openbox at all: find your -rc.xml (Lubuntu: ~/.config/openbox/lubuntu-rc.xml) all your hotkeys are there between keyboard and /keyboard. Be carefull, backut that file first. After save exec in terminal: openbox --reconfigure -- View this message in

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread abbat81
Ru Vuott wrote Hello Abbat81, Dim s As String = http://www.link1.com/folder1/picture1.png; Print ss[4] End But link can contain a different count of / example: http://www.link1.com/folder1/picture1.png http://www.link2.com/folder2/folder3/picture2_adv.png -- View

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread abbat81
Jussi Lahtinen wrote You can use InStr() to find png and count back to /. Ok, how to count back to last / in string if we have: Dim s As String = http://www.link1.com/folder1/folder1/picture1.png; Print InStr(s, .png) = 46 -- View this message in context:

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread abbat81
Thank you very much It was helpfull + Array.Count: Dim s As String = http://www.link1.com/folder1/folder1/picture1.png; Dim ss As String[] ss = Split(s, /) Print ss[ss.count - 1] -- View this message in context:

[Gambas-user] For Each Line in String

2013-08-17 Thread abbat81
Dim sPics as astring Shell ls ~/Pictures/ to sPics For Each Line in sPics Print Line Next Fow can I do it? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/For-Each-Line-in-String-tp42889.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] For Each Line in String

2013-08-17 Thread abbat81
It works if line if full but I need some part of line. Works: FOR EACH Sb IN Elt PRINT Sb NEXT I need: FOR EACH Sb IN Elt PRINT Left(Sb, 5) NEXT It gives me 5 chars of first line only. I should get every 5 chsrs of every line. -- View this message in context:

[Gambas-user] Get one line from text

2013-08-17 Thread abbat81
Hi all. I need your help. I cant get one line from text. My text is: #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Name[uk_UA]=Грибоїд Exec=/Games/Kids/Грибоєд/Griboed_exec Icon=/Games/Kids/Грибоєд/1857.png Comment[uk_UA]=Грибоїд Name=Грибоїд

[Gambas-user] Time Format = Error

2013-07-29 Thread abbat81
Hello. It was good to use Time(0, 0, seconds) but for now I need to use more seconds. So, now I get: Print Time(0, 0, 32767) = 09:06:07 Print Time(0, 0, 32768) = 14:53:52 (00/00/ 14:53:52) How can I get Format(hh:nn:ss) from seconds? Thanks. -- View this message in context:

Re: [Gambas-user] Time Format = Error

2013-07-29 Thread abbat81
Benoît Minisini wrote Format(nSeconds / 3600 / 24, hh:nn:ss) Benoît, I cant understand how to use this. All I got - bad format string -- View this message in context: http://gambas.8142.n7.nabble.com/Time-Format-Error-tp42654p42656.html Sent from the gambas-user mailing list archive at

[Gambas-user] gb.settings. Saves my settings only when my form closing

2013-04-09 Thread abbat81
Public Sub SaveButton_Click() hs[Something/item1] = Textbox1.Text End It does not save my settings. But after my form is closed it takes change. Is there something I don't understand correctly? I need my setting to take change immediately, because I also have one more button on the same

[Gambas-user] watch+fclock = Error opening terminal: unknown.

2013-04-05 Thread abbat81
Hallo! In LXterminal I can execute successfully next command: watch flock -n /home/user/Shell.lock /home/user/Onix_Shell.gambas But I can't do it in Gambas. Shell watch flock -n /home/user/Shell.lock /home/user/Onix_Shell.gambas gives me: Error opening terminal: unknown. Is there any other

Re: [Gambas-user] watch+fclock = Error opening terminal: unknown.

2013-04-05 Thread abbat81
Thaks for reply. I don't need input/outout. All I need is to make watch to run my application every 2 sec. if it down. -- View this message in context: http://gambas.8142.n7.nabble.com/watch-flock-Error-opening-terminal-unknown-tp41634p41637.html Sent from the gambas-user mailing list

Re: [Gambas-user] watch+fclock = Error opening terminal: unknown.

2013-04-05 Thread abbat81
It's is to difficult. But can be much easy. All I need is to start my application again if it will be closed. Nothing more to INPUT/OUTPUT. A working command is: watch flock -n /home/user/Shell.lock /home/user/Onix_Shell.gambas But it works only in terminal, not in Gambas: Shell watch flock

[Gambas-user] HTML comtent in MySQL query.

2013-03-31 Thread abbat81
Hello, I got problem. How to send a html content in mysql query. Dim Qry As String = DConnect.$Con.Exec(UPDATE users SET login = ' Qry ') I get error about syntax. Thanks. -- View this message in context: http://gambas.8142.n7.nabble.com/HTML-comtent-in-MySQL-query-tp41533.html

Re: [Gambas-user] HTML comtent in MySQL query.

2013-03-31 Thread abbat81
I'm sorry, but I don't understand. http://gambas.8142.n7.nabble.com/file/n41538/2013-03-31-194503_1680x1050_scrot.png I have problem with quotes. -- View this message in context: http://gambas.8142.n7.nabble.com/HTML-comtent-in-MySQL-query-tp41533p41538.html Sent from the gambas-user

Re: [Gambas-user] GridView+GTK+Scrollbar

2012-12-14 Thread abbat81
Sorry for missing info. Here it is: [System] OperatingSystem=Linux Kernel=3.2.0-34-generic Architecture=i686 Memory=1024516 kB DistributionVendor=Ubuntu DistributionRelease=Ubuntu 12.04.1 LTS Desktop=Unknown [Gambas 3] Version=3.3.4 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1

[Gambas-user] BUS Error(7)

2012-12-14 Thread abbat81
I got this: http://gambas.8142.n7.nabble.com/file/n40370/2012_12_14_165338_504x157_scrot.png I can guess only for what I got it. Trying to give PictureBox a picture on remote computer. It works, but sometimes I get this Error. Thanks -- View this message in context:

  1   2   >