gambas-user Mailing List for Gambas
Brought to you by:
gambas
This list is closed, nobody may subscribe to it.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(24) |
Aug
(23) |
Sep
(15) |
Oct
(6) |
Nov
(52) |
Dec
(48) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(169) |
Feb
(110) |
Mar
(90) |
Apr
(123) |
May
(254) |
Jun
(243) |
Jul
(190) |
Aug
(339) |
Sep
(142) |
Oct
(72) |
Nov
(300) |
Dec
(142) |
2004 |
Jan
(285) |
Feb
(548) |
Mar
(442) |
Apr
(424) |
May
(338) |
Jun
(324) |
Jul
(393) |
Aug
(442) |
Sep
(460) |
Oct
(249) |
Nov
(285) |
Dec
(370) |
2005 |
Jan
(520) |
Feb
(316) |
Mar
(524) |
Apr
(228) |
May
(217) |
Jun
(355) |
Jul
(300) |
Aug
(331) |
Sep
(264) |
Oct
(252) |
Nov
(264) |
Dec
(297) |
2006 |
Jan
(430) |
Feb
(288) |
Mar
(436) |
Apr
(248) |
May
(270) |
Jun
(188) |
Jul
(369) |
Aug
(574) |
Sep
(267) |
Oct
(353) |
Nov
(171) |
Dec
(127) |
2007 |
Jan
(144) |
Feb
(103) |
Mar
(172) |
Apr
(244) |
May
(299) |
Jun
(145) |
Jul
(237) |
Aug
(269) |
Sep
(232) |
Oct
(341) |
Nov
(314) |
Dec
(264) |
2008 |
Jan
(767) |
Feb
(369) |
Mar
(678) |
Apr
(403) |
May
(379) |
Jun
(334) |
Jul
(301) |
Aug
(258) |
Sep
(476) |
Oct
(345) |
Nov
(412) |
Dec
(381) |
2009 |
Jan
(365) |
Feb
(327) |
Mar
(331) |
Apr
(468) |
May
(389) |
Jun
(376) |
Jul
(441) |
Aug
(719) |
Sep
(456) |
Oct
(410) |
Nov
(621) |
Dec
(509) |
2010 |
Jan
(552) |
Feb
(306) |
Mar
(336) |
Apr
(389) |
May
(273) |
Jun
(172) |
Jul
(181) |
Aug
(225) |
Sep
(490) |
Oct
(219) |
Nov
(468) |
Dec
(470) |
2011 |
Jan
(513) |
Feb
(306) |
Mar
(404) |
Apr
(437) |
May
(357) |
Jun
(364) |
Jul
(350) |
Aug
(440) |
Sep
(466) |
Oct
(352) |
Nov
(284) |
Dec
(339) |
2012 |
Jan
(558) |
Feb
(406) |
Mar
(477) |
Apr
(488) |
May
(525) |
Jun
(457) |
Jul
(602) |
Aug
(722) |
Sep
(471) |
Oct
(502) |
Nov
(484) |
Dec
(338) |
2013 |
Jan
(286) |
Feb
(346) |
Mar
(222) |
Apr
(275) |
May
(277) |
Jun
(172) |
Jul
(325) |
Aug
(373) |
Sep
(295) |
Oct
(531) |
Nov
(437) |
Dec
(455) |
2014 |
Jan
(496) |
Feb
(383) |
Mar
(198) |
Apr
(213) |
May
(443) |
Jun
(417) |
Jul
(416) |
Aug
(226) |
Sep
(509) |
Oct
(476) |
Nov
(469) |
Dec
(412) |
2015 |
Jan
(465) |
Feb
(309) |
Mar
(430) |
Apr
(176) |
May
(224) |
Jun
(291) |
Jul
(224) |
Aug
(412) |
Sep
(1038) |
Oct
(621) |
Nov
(302) |
Dec
(526) |
2016 |
Jan
(196) |
Feb
(226) |
Mar
(238) |
Apr
(272) |
May
(309) |
Jun
(202) |
Jul
(210) |
Aug
(306) |
Sep
(272) |
Oct
(243) |
Nov
(232) |
Dec
(167) |
2017 |
Jan
(247) |
Feb
(185) |
Mar
(166) |
Apr
(127) |
May
(385) |
Jun
(356) |
Jul
(340) |
Aug
(485) |
Sep
(484) |
Oct
(85) |
Nov
(13) |
Dec
(13) |
2018 |
Jan
(16) |
Feb
(4) |
Mar
(9) |
Apr
(2) |
May
(38) |
Jun
(12) |
Jul
(17) |
Aug
|
Sep
(7) |
Oct
(11) |
Nov
|
Dec
|
2019 |
Jan
|
Feb
(5) |
Mar
|
Apr
(7) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(2) |
From: T L. D. <t.l...@gm...> - 2024-12-09 15:02:50
|
On 12/9/24 06:58, wig wrote: > > > I would think that rounding a half would always react the same, either > up or down; > > f = 1.015 > > Print "Round(" & f & ", -2) = " & Round(f, -2) > > Result: > > Round(1.015, -2) = 1.02 > > f = 1.055 > > Print "Round(" & f & ", -2) = " & Round(f, -2) > > Round(1.055, -2) = 1.05 > > What should I expect? > > I used Gambas 3.18.4 > > System info see attach > > Kind greetings, > > Wig Strange indeed. But, you posted the message to the old, deprecated mailing list. Please post to the new list, us...@li.... If needed, subscribe at https://lists.gambas-basic.org/#user or send a blank email to use...@li.... -- Lee |
From: wig <wi...@no...> - 2024-12-09 12:18:58
|
I would think that rounding a half would always react the same, either up or down; f = 1.015 Print "Round(" & f & ", -2) = " & Round(f, -2) Result: Round(1.015, -2) = 1.02 f = 1.055 Print "Round(" & f & ", -2) = " & Round(f, -2) Round(1.055, -2) = 1.05 What should I expect? I used Gambas 3.18.4 System info see attach Kind greetings, Wig |
From: Jorge C. <sh...@gm...> - 2024-11-21 17:31:45
|
Greetings I have a program that uses a form but I don't want it to appear in the desktop's menu. Does anyone know how to do this? Best Regards |
From: Jorge C. <sh...@gm...> - 2023-01-17 16:44:43
|
I mind the third option of de lower bar. I see it in Spanish, and I've translate it as "Find Result". I don't know what is the english legend of that button. Sorry about my poor english. [image: Captura de pantalla de 2023-01-17 17-40-20.png] Best regards El mar, 17 ene 2023 a las 14:47, T Lee Davidson (<t.l...@gm...>) escribió: > On 1/17/23 07:57, Jorge Carrión wrote: > > With Gambas 3.18 I can't see the Console, the Notes or the Find Results. > > All I get with F11 key is a Toggled "Console" button in the Bottom bar of > > Editor. It's only me or its a bug? > > I can toggle Console and Notes normally without issue. I do not see any > "Find Results". > > > -- > Lee > > [System] > Gambas=3.18 > OperatingSystem=Linux > Kernel=5.14.21-150400.24.38-default > Architecture=x86_64 > Distribution=openSUSE Leap 15.4 > Desktop=KDE > Font=Noto Sans,10 > Scale=7 > Theme=breeze > Language=en_US.UTF-8 > Memory=15922M > > > > _______________________________________________ > Gambas-user mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gambas-user > |
From: T L. D. <t.l...@gm...> - 2023-01-17 13:47:14
|
On 1/17/23 07:57, Jorge Carrión wrote: > With Gambas 3.18 I can't see the Console, the Notes or the Find Results. > All I get with F11 key is a Toggled "Console" button in the Bottom bar of > Editor. It's only me or its a bug? I can toggle Console and Notes normally without issue. I do not see any "Find Results". -- Lee [System] Gambas=3.18 OperatingSystem=Linux Kernel=5.14.21-150400.24.38-default Architecture=x86_64 Distribution=openSUSE Leap 15.4 Desktop=KDE Font=Noto Sans,10 Scale=7 Theme=breeze Language=en_US.UTF-8 Memory=15922M |
From: Jorge C. <sh...@gm...> - 2023-01-17 12:57:46
|
With Gambas 3.18 I can't see the Console, the Notes or the Find Results. All I get with F11 key is a Toggled "Console" button in the Bottom bar of Editor. It's only me or its a bug? My info: [System] Gambas=3.18 OperatingSystem=Linux Kernel=5.15.0-58-generic Architecture=x86_64 Distribution=Linux Mint 21.1 Vera Desktop=CINNAMON Font=Ubuntu,10 Scale=7 Theme=proxy Language=es_ES.UTF-8 Memory=15827M [Programs] gcc=gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 git=git version 2.34.1 [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.7.0 DBus=libdbus-1.so.3.19.13 GDK2=libgdk-x11-2.0.so.0.2400.33 GDK3=libgdk-3.so.0.2404.29 GStreamer=libgstreamer-1.0.so.0.2003.0 GTK+2=libgtk-x11-2.0.so.0.2400.33 GTK+3=libgtk-3.so.0.2404.29 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.118.0.0 QT5=libQt5Core.so.5.15.3 RSvg=librsvg-2.so.2.48.0 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CINNAMON_VERSION=5.6.7 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=cinnamon DISPLAY=:0 EDITOR=nano GB_GUI=gb.qt5 GDMSESSION=cinnamon GDM_LANG=es_ES GIO_LAUNCHED_DESKTOP_FILE=<home>/.local/share/applications/Gambas.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=17108 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK3_MODULES=xapp-gtk3-module GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME=<home> LANG=es_ES.UTF-8 LANGUAGE=es_ES.UTF-8 LC_ALL=es_ES.UTF-8 LOGNAME=<user> PATH=<home>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=<home> QT_ACCESSIBILITY=1 QT_LOGGING_RULES=*.debug=false QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1117,unix/<hostname>:/tmp/.ICE-unix/1117 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER=<user> XAUTHORITY=<home>/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user> XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 force_s3tc_enable=true |
From: T L. D. <t.l...@gm...> - 2021-07-29 03:34:53
|
On 7/28/21 9:36 PM, richard terry wrote: > Hi list, > > Is it possible to generate a QR code image from gambas? > > Thanks > > Richard You could shell out to the 'qrencode' command-line utility. Or, look on the Gambas Farm for "QRCreator". -- Lee |
From: richard t. <rt...@in...> - 2021-07-29 01:57:23
|
Hi list, Is it possible to generate a QR code image from gambas? Thanks Richard |
From: Benoît M. <g4...@gm...> - 2020-01-13 20:03:35
|
Le 13/01/2020 à 20:23, Steve a écrit : > This is my follow up as promised. After the update I am confirming that > printing is seriously screwed. I have traced thru code and information > is flowing however the print (as in on paper) using the paint.drawtext > is giving unstable results. Printing a receipt from my software produces > a blank page with only the graphics and no text at all unless I reprint > it then it comes out sort of ok. The font sizes are not stable I am > getting fonts smaller than called for. Or larger sometimes. The problem > is consistent across multiple projects. The thing that changed in Gambas 3.14 is Printer.Font.Size. The size of the font has been scaled so that: - It is consistent between screen and paper. - It is consistent between Qt and GTK+. The consistence is approximative, as it relies on screen DPI and printer DPI, which is not very exact, especially with screens. This is done through the Painter.FontScale property that stores the font size adjustment. That property is initialized when Painter.Begin() is called. To restore the old behaviour, you can try to set Painter.FontScale to 1.0 just before painting anything. But it may not work in all cases. Why? Because there are anyway big problems in your code: it uses absolute values for coordinates ('Y += 9' and so on). This is wrong, and works only by luck or by guess. Unless you use Paint.Scale() to scale the viewport so that coordinates are now true absolutes values (cm or mm for example), these absolutes values mean nothing stable if the screen or paper changes, or if the library version changes, or if the meaning of font size changes, and so on. The only thing you can be sure is that Paint.Width and Paint.Height is the size of your paper when printing. But it can use any unit. You have several things to consider and do: 1) You can use Paint.Scale() so that Paint.Width and Paint.Height are now cm or mm, or any absolute unit you want. 2) Paint.Font.Size should be now really in *points*. One point = 1/72th inch ~= 3.5 mm. 3) You have to use Paint.TextSize() or Paint.TextHeight (the line height actually) to know the size of the text and where to print the next line. 4) You can use the new 'gb.form.print' component. It allows you to print through a preview dialog (the same that is used in the IDE for printing). I strongly suggest that you do 3) and try 4). Then your code will be reliable and you will have a print preview for free. As an example, I join to that mail the test module you can find in 'gb.form.print' source code. Regards, > > system Info > > fedora 31 latest updates. > Gambas 3.14.2 > > It seems that the text is not printing at all, but the lines and or > graphics do. I do not seem to be able to fix this here as I am pretty > sure the problem is in a serious flaw in the interpreter, and it is now > a critical issue as it is affecting business operations. Not to mention > wasting paper and time to reprint everything. > > This is a code snipet of just one printing routine that is not producing > correctly. > > ======================================================= > > Function RcptHeader80(SlsID As String, Y As Integer) As Integer > Dim TVar, I, Fd As String > > Fd = > PHPOS.FieldList("StoreName,StoreAddress1,StoreAddress2,StoreCity,StoreState,StoreZip,StorePhone") > > I = MySqlLib.GetAllData(PHPOS.zStoreInfo, Fd) > > Paint.Font.Name = "Arial" > Paint.Font.Size = 18 > Paint.Font.Bold = True > > TVar = FuncLib.GetField(ByRef I, FuncLib.cFieldDelimiter) > Paint.DrawRichText(TVar, 1, Y, Paint.Width, Y, Align.Center) 'name > Y += 14 > > TVar = FuncLib.GetField(ByRef I, FuncLib.cFieldDelimiter) > Paint.Font.Size = 10 > Paint.DrawText(TVar, 1, Y, Paint.Width, Y, Align.Center) 'addr1 > > Y += 9 > TVar = FuncLib.GetField(ByRef I, FuncLib.cFieldDelimiter) > If TVar <> "" Then > Paint.DrawText(TVar, 1, Y, Paint.Width, Y, Align.Center) 'addr2 > Y += 9 > Endif > TVar = FuncLib.GetField(ByRef I, FuncLib.cFieldDelimiter) > Paint.DrawText(TVar & " , " & FuncLib.GetField(ByRef I, > FuncLib.cFieldDelimiter) & " " & FuncLib.GetField(ByRef I, > FuncLib.cFieldDelimiter), 1, Y, Paint.Width, Y, Align.Center) 'city > state zip > Y += 9 > TVar = FuncLib.GetField(ByRef I, FuncLib.cFieldDelimiter) > Paint.DrawText(TVar, 1, Y, Paint.Width, Y, Align.Center) 'phone > Y += 20 > RcptCustomer80(Y) > Fd = PHPOS.FieldList("sDate,sTime") > I = MySqlLib.GetData(PHPOS.zSalesHdr, Fd, "SalesID = " & Trim(SlsID)) > Paint.Font.Size = 8 > Paint.DrawText("Date " & Format(Date(FuncLib.GetField(ByRef I, > FuncLib.cFieldDelimiter)), "mm/dd/yyyy") & " " & I, 30, Y, Paint.Width, > Y, Align.Left) > Y += 9 > Paint.DrawText("Sale " & SlsID, 30, Y, Paint.Width, Y, Align.Left) > Y += 80 > Paint.DrawText("Item", Clmn1, Y, Clmn1W, 14, Align.Left) > Paint.DrawText("Desc", Clmn2, Y, Clmn2W, 14, Align.Left) > Paint.DrawText("Price", Clmn3, Y, Clmn3W, 14, Align.Right) > Paint.DrawText("Qty", Clmn4, Y, Clmn4W, 14, Align.Right) > Paint.DrawText("Amount", Clmn5, Y, Clmn5W, 14, Align.Right) > Y += 14 > Paint.FillRect(30, Y, Paint.Width, 2, Color.Black) > Return Y > End > > =================================================== > > > > -- Benoît Minisini |
From: T L. D. <t.l...@gm...> - 2019-10-09 13:11:20
|
This is a discussion list. Everyone subscribed to the list gets every message sent to the list. How was the message misrouted? BTW, this particular list is deprecated. Subscription to the new list is at: https://lists.gambas-basic.org/listinfo/user On 10/8/19 11:47 AM, Antonis wrote: > Dear Mr. Benoît, > I'm afraid that your below email was misrouted to wrong recipient. > > -----Original Message----- > From: Benoît Minisini [mailto:g4...@gm...] > Sent: Tuesday, 8 October, 2019 12:09 > To: mailing list for gambas users > Subject: Re: [Gambas-user] webpage editor > > Le 08/10/2019 à 10:56, Mayost Sharon a écrit : >> Hello >> Thank you >> >> I guess because I'm translating through Google into English so I'm not well understood, I'm sorry. >> >> I'm not talking about the bold text >> >> I'm talking about, adding space character, and it spoils the HTML code >> >> For example: >> <% >> Dim sEnv As String >> %> >> <html> >> </html> >> >> But if I lower the% at the end >> For example: >> <% >> Dim sEnv As String >>> >> < html > >> < / html > >> >> Look, this adds a space character >> > Of course, this is not HTML anymore, but Gambas code. > > But why do you want to remove the "%" in the first place, and then move > the cursor to another line? > |
From: Antonis <ana...@ot...> - 2019-10-08 16:03:38
|
Dear Mr. Benoît, I'm afraid that your below email was misrouted to wrong recipient. -----Original Message----- From: Benoît Minisini [mailto:g4...@gm...] Sent: Tuesday, 8 October, 2019 12:09 To: mailing list for gambas users Subject: Re: [Gambas-user] webpage editor Le 08/10/2019 à 10:56, Mayost Sharon a écrit : > Hello > Thank you > > I guess because I'm translating through Google into English so I'm not well understood, I'm sorry. > > I'm not talking about the bold text > > I'm talking about, adding space character, and it spoils the HTML code > > For example: > <% > Dim sEnv As String > %> > <html> > </html> > > But if I lower the% at the end > For example: > <% > Dim sEnv As String >> > < html > > < / html > > > Look, this adds a space character > Of course, this is not HTML anymore, but Gambas code. But why do you want to remove the "%" in the first place, and then move the cursor to another line? -- Benoît Minisini _______________________________________________ Gambas-user mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gambas-user |
From: Benoît M. <g4...@gm...> - 2019-10-08 09:09:17
|
Le 08/10/2019 à 10:56, Mayost Sharon a écrit : > Hello > Thank you > > I guess because I'm translating through Google into English so I'm not well understood, I'm sorry. > > I'm not talking about the bold text > > I'm talking about, adding space character, and it spoils the HTML code > > For example: > <% > Dim sEnv As String > %> > <html> > </html> > > But if I lower the% at the end > For example: > <% > Dim sEnv As String >> > < html > > < / html > > > Look, this adds a space character > Of course, this is not HTML anymore, but Gambas code. But why do you want to remove the "%" in the first place, and then move the cursor to another line? -- Benoît Minisini |
From: Mike C. <mik...@y7...> - 2019-05-19 07:11:22
|
Hi all, How do I copy HTML inputs to a gambas variable. <%Dim HtmlInput As String%> <!DOCTYPE html><html> <title>Login</title> <body> <form name="MY Form"action="Login"> userid<input type="text" name="text1"> <br> password<input typy=" password" name="text2"> <br> <input type="submit"name="button1"value="login"> </form> </body></html> <%!Arg ''??? %> <%''How Do I put user and password into HtmlInput.%> RegardsMike |
From: <na...@no...> - 2019-04-08 15:42:04
|
I'd like to point out that the five uses of 'Now' in the example all occur at different times - but very close together temporally. A better test is to use only one 'Now' in the program into a variable and format with the different lines. -- Open WebMail Project (http://openwebmail.org) ---------- Original Message ----------- From: Benoît Minisini <g4...@gm...> To: mailing list for gambas users <gam...@li...> Sent: Mon, 8 Apr 2019 16:47:25 +0200 Subject: Re: [Gambas-user] Where is the mistake? > Le 08/04/2019 à 16:21, Hans Lehmann a écrit : > > Hello! > > > > Where is the mistake? > > > > Print "Time-Part: "; Round(Frac(Now()), -8); " ▸ "; > > Format$(Time(Frac(Now())), "hh:nn:ss"); Format$(Time(Frac(Now())), "(t)") > > Print "Time-Part: "; Round(Frac(Now()), -8); " ▸ "; > > Format$(Time(Now()), "hh:nn:ss"); Format$(Time(Now()), "(t)") > > > > Output: > > > > Time-Part: 0,59328568 ▸ *14*:14:19 (CEST) ' UTC! > > Time-Part: 0,59328568 ▸ *16*:14:19 (CEST) > > > > Regards > > > > Hans > > > > Please use the new mailing-list. > > Regards, > > -- > Benoît Minisini > > _______________________________________________ > Gambas-user mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- |
From: Benoît M. <g4...@gm...> - 2019-04-08 14:47:35
|
Le 08/04/2019 à 16:21, Hans Lehmann a écrit : > Hello! > > Where is the mistake? > > Print "Time-Part: "; Round(Frac(Now()), -8); " ▸ "; > Format$(Time(Frac(Now())), "hh:nn:ss"); Format$(Time(Frac(Now())), "(t)") > Print "Time-Part: "; Round(Frac(Now()), -8); " ▸ "; > Format$(Time(Now()), "hh:nn:ss"); Format$(Time(Now()), "(t)") > > Output: > > Time-Part: 0,59328568 ▸ *14*:14:19 (CEST) ' UTC! > Time-Part: 0,59328568 ▸ *16*:14:19 (CEST) > > Regards > > Hans > Please use the new mailing-list. Regards, -- Benoît Minisini |
From: Hans L. <ha...@ga...> - 2019-04-08 14:45:33
|
Hello! Where is the mistake? Print "Time-Part: "; Round(Frac(Now()), -8); " ▸ "; Format$(Time(Frac(Now())), "hh:nn:ss"); Format$(Time(Frac(Now())), "(t)") Print "Time-Part: "; Round(Frac(Now()), -8); " ▸ "; Format$(Time(Now()), "hh:nn:ss"); Format$(Time(Now()), "(t)") Output: Time-Part: 0,59328568 ▸ *14*:14:19 (CEST) ' UTC! Time-Part: 0,59328568 ▸ *16*:14:19 (CEST) Regards Hans |
From: Fabien B. <gam...@gm...> - 2019-04-04 22:26:20
|
If I remember well the icon must have the class name in lower case. And stored in .hidden/control folder And in png format 😊 Le jeu. 4 avr. 2019 11:13, bill-lancaster <bill-lancaster@brackenwood.one> a écrit : > I haven't yet been able to install the control's icon successfully. > I have installed an icon in the .hidden/control folder of the project but > the icon shown in collection of controls is a default one with no icon. > Any advice would be welcome > > Kubuntu 18.04 > Gambas 3.12.2 > > > > -- > Sent from: http://gambas.8142.n7.nabble.com/gambas-user-f3.html > > > _______________________________________________ > Gambas-user mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gambas-user > |
From: T L. D. <t.l...@gm...> - 2019-04-04 19:14:05
|
You sent your message to the old Gambas Mailing List which has been deprecated. I don't know what happened to the auto-reply informing of such. Anyway, here's the new list's subscribe form: https://lists.gambas-basic.org/listinfo/user ___ Lee On 4/4/19 4:57 AM, bill-lancaster wrote: > I haven't yet been able to install the control's icon successfully. > I have installed an icon in the .hidden/control folder of the project but > the icon shown in collection of controls is a default one with no icon. > Any advice would be welcome > > Kubuntu 18.04 > Gambas 3.12.2 > > > > -- > Sent from: http://gambas.8142.n7.nabble.com/gambas-user-f3.html > > > _______________________________________________ > Gambas-user mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gambas-user > |
From: Jorge C. <sh...@gm...> - 2019-04-04 16:22:36
|
Check if the icon is a png and the name is the same of control but in lower case... El jue., 4 abr. 2019 a las 11:13, bill-lancaster (<bill-lancaster@brackenwood.one>) escribió: > I haven't yet been able to install the control's icon successfully. > I have installed an icon in the .hidden/control folder of the project but > the icon shown in collection of controls is a default one with no icon. > Any advice would be welcome > > Kubuntu 18.04 > Gambas 3.12.2 > > > > -- > Sent from: http://gambas.8142.n7.nabble.com/gambas-user-f3.html > > > _______________________________________________ > Gambas-user mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gambas-user > |
From: bill-lancaster <bil...@br...> - 2019-04-04 09:13:20
|
I haven't yet been able to install the control's icon successfully. I have installed an icon in the .hidden/control folder of the project but the icon shown in collection of controls is a default one with no icon. Any advice would be welcome Kubuntu 18.04 Gambas 3.12.2 -- Sent from: http://gambas.8142.n7.nabble.com/gambas-user-f3.html |
From: T L. D. <t.l...@gm...> - 2019-02-05 07:37:34
|
Also, I didn't notice when I replied, but thanks to the Autoresponse from the list: This mailing-list is deprecated. Please now subscribe to https://lists.gambas-basic.org/listinfo/user ___ Lee On 2/5/19 2:35 AM, T Lee Davidson wrote: > Project > Properties > Statistics ? > > > ___ > Lee > > > On 2/5/19 12:03 AM, richard terry wrote: >> Thanks, I suspected as much. >> >> Sadly, its not a short process - I'd hate to think how many thousands of lines of code... will take me weeks I guess. BTW >> anyway of quickly counting how many forms/modules etc and lines of code in a project? >> >> Regards >> >> richard |
From: T L. D. <t.l...@gm...> - 2019-02-05 07:35:31
|
Project > Properties > Statistics ? ___ Lee On 2/5/19 12:03 AM, richard terry wrote: > Thanks, I suspected as much. > > Sadly, its not a short process - I'd hate to think how many thousands of lines of code... will take me weeks I guess. BTW > anyway of quickly counting how many forms/modules etc and lines of code in a project? > > Regards > > richard |
From: richard t. <rt...@in...> - 2019-02-05 05:03:52
|
Thanks, I suspected as much. Sadly, its not a short process - I'd hate to think how many thousands of lines of code... will take me weeks I guess. BTW anyway of quickly counting how many forms/modules etc and lines of code in a project? Regards richard On 5/2/19 3:30 pm, Fabien Bodard wrote: > Unfortunately I have a bad new for your case. > There is two reasons for that. > > - This coding way was really dangerous because many things cas appen to > your variable even during the loop time. > > - Benoit have to remove this ability to resolve a conflit on the new Just > In Time Compiler. > > So you have to walk your code > > But its not so long > > Just comment the variable in the header > 'Private MyVar as type > And add it in the fuctions > Dim MyVar as type. > > We win also the ability to declare var every were in the code. > Even : > > for myVar as Integer = 0 to 10 > Next > > Regards, > Fabien Bodard > > > > > Le mar. 5 févr. 2019 04:53, richard terry <rt...@in...> a > écrit : > >> Hi List, >> >> Recently after a few years I upgraded a machine to Mint 19.1 and latest >> ppa stable gambas. >> >> My long running code won't run properly .... wherever I have a loop >> variable which was declared in the general declarations at the top of >> the form rather than in a sub, an error comes up saying 'loop variable >> can't be global'. >> >> Has this changed in Gambas in recent times to make things stricter or is >> there a setting I can switch on to allow the old code to run, or do I >> have to go through my whole program and fix my bad coding. >> >> Thanks >> >> Richard >> >> >> >> >> _______________________________________________ >> Gambas-user mailing list >> Gam...@li... >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > _______________________________________________ > Gambas-user mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gambas-user |
From: Fabien B. <gam...@gm...> - 2019-02-05 04:31:07
|
Unfortunately I have a bad new for your case. There is two reasons for that. - This coding way was really dangerous because many things cas appen to your variable even during the loop time. - Benoit have to remove this ability to resolve a conflit on the new Just In Time Compiler. So you have to walk your code But its not so long Just comment the variable in the header 'Private MyVar as type And add it in the fuctions Dim MyVar as type. We win also the ability to declare var every were in the code. Even : for myVar as Integer = 0 to 10 Next Regards, Fabien Bodard Le mar. 5 févr. 2019 04:53, richard terry <rt...@in...> a écrit : > Hi List, > > Recently after a few years I upgraded a machine to Mint 19.1 and latest > ppa stable gambas. > > My long running code won't run properly .... wherever I have a loop > variable which was declared in the general declarations at the top of > the form rather than in a sub, an error comes up saying 'loop variable > can't be global'. > > Has this changed in Gambas in recent times to make things stricter or is > there a setting I can switch on to allow the old code to run, or do I > have to go through my whole program and fix my bad coding. > > Thanks > > Richard > > > > > _______________________________________________ > Gambas-user mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gambas-user > |
From: richard t. <rt...@in...> - 2019-02-05 03:53:14
|
Hi List, Recently after a few years I upgraded a machine to Mint 19.1 and latest ppa stable gambas. My long running code won't run properly .... wherever I have a loop variable which was declared in the general declarations at the top of the form rather than in a sub, an error comes up saying 'loop variable can't be global'. Has this changed in Gambas in recent times to make things stricter or is there a setting I can switch on to allow the old code to run, or do I have to go through my whole program and fix my bad coding. Thanks Richard |