[Gambas-user] Navigation in TableView with keyboard 'Enter'
Hi all, Is there an simple manner of making an editable TableView only move through 1 Column upon hitting the 'Enter' on keyboard? OR EVEN BETTER make only one column editable instead of the whole table (I assume that would eliminate moving through all non editable fields)? Thanks, gbWilly -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Typing in - help for own function
Am 16.11.2015 17:31, schrieb Tobias Boege: > On Mon, 16 Nov 2015, Tobias Boege wrote: >>'' Analyze a line. >>'' >>'' **Remember that the result is ByRef.** >>Public Function Analyze(sLine As String, hRes As AnalyzeResult) As Boolean > Of course I would screw something up in this completely arbitrary example. > For the comment to make sense the function's signature should be > >Public Function Analyze(sLine As String, ByRef hRes As AnalyzeResult) As > Boolean > > with a ByRef before hRes. > No problem, I got what I was looking for ;) Rolf -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Typing in - help for own function
On Mon, 16 Nov 2015, Tobias Boege wrote: > '' Analyze a line. > '' > '' **Remember that the result is ByRef.** > Public Function Analyze(sLine As String, hRes As AnalyzeResult) As Boolean Of course I would screw something up in this completely arbitrary example. For the comment to make sense the function's signature should be Public Function Analyze(sLine As String, ByRef hRes As AnalyzeResult) As Boolean with a ByRef before hRes. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Typing in - help for own function
Am 16.11.2015 17:25, schrieb Tobias Boege: > On Mon, 16 Nov 2015, Rolf-Werner Eilert wrote: >> Just had this idea: When I type in the name of a function in one of the >> classes of my project (an own function), the help pops up and tells me >> about the variables needed and the data type of that function. >> >> But it would be helpful (e. g. after a longer time of absence) to have >> some kind of explanation or declaration text to tell me how this >> function was meant to be used. So, is there a way of quoting some kind >> of comment which is then shown in this help window? Or if not, wouldn't >> it be a nice-to-have? ;) >> >> I'm thinking about a special quote character, e. g. # or & in a comment, >> or a pair of commands (forming a block) or something. >> > I could barely live without that. Try the double-apostrophe: > >'' Analyze a line. >'' >'' **Remember that the result is ByRef.** >Public Function Analyze(sLine As String, hRes As AnalyzeResult) As Boolean > ' ... >End > > As you will see, you can use the usual Gambas Markdown syntax inside these > comments. > > With the triple-apostrophe ''' in the class header you can write > documentation for the current class. > > Regards, > Tobi > Aaaah great! Thank you Tobi. The space after the ' ' seems to be important, and it has to be written above the function declaration, not within, right? Regards Rolf -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Typing in - help for own function
Just had this idea: When I type in the name of a function in one of the classes of my project (an own function), the help pops up and tells me about the variables needed and the data type of that function. But it would be helpful (e. g. after a longer time of absence) to have some kind of explanation or declaration text to tell me how this function was meant to be used. So, is there a way of quoting some kind of comment which is then shown in this help window? Or if not, wouldn't it be a nice-to-have? ;) I'm thinking about a special quote character, e. g. # or & in a comment, or a pair of commands (forming a block) or something. Regards Rolf -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Typing in - help for own function
On Mon, 16 Nov 2015, Rolf-Werner Eilert wrote: > Just had this idea: When I type in the name of a function in one of the > classes of my project (an own function), the help pops up and tells me > about the variables needed and the data type of that function. > > But it would be helpful (e. g. after a longer time of absence) to have > some kind of explanation or declaration text to tell me how this > function was meant to be used. So, is there a way of quoting some kind > of comment which is then shown in this help window? Or if not, wouldn't > it be a nice-to-have? ;) > > I'm thinking about a special quote character, e. g. # or & in a comment, > or a pair of commands (forming a block) or something. > I could barely live without that. Try the double-apostrophe: '' Analyze a line. '' '' **Remember that the result is ByRef.** Public Function Analyze(sLine As String, hRes As AnalyzeResult) As Boolean ' ... End As you will see, you can use the usual Gambas Markdown syntax inside these comments. With the triple-apostrophe ''' in the class header you can write documentation for the current class. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Navigation in TableView with keyboard 'Enter'
On 2015-11-16 17:09, wi...@develop.earthshipeurope.org wrote: > Hi all, > > Is there an simple manner of making an editable TableView only move > through 1 Column upon hitting the 'Enter' on keyboard? > > OR EVEN BETTER > > make only one column editable instead of the whole table (I assume that > would eliminate moving through all non editable fields)? > > Thanks, > > gbWilly > Nevermind, figured it out myself eventually Here is what I did to make only column one editable: Public Sub tvwResult2_Click() If tvwResult2.Column = 1 Then tvwResult2.Edit Endif End -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection
http://gambaswiki.org/bugtracker/edit?object=BUG.841=L21haW4- Benoît MINISINI changed the state of the bug to: Accepted. -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection
http://gambaswiki.org/bugtracker/edit?object=BUG.841=L21haW4- Comment #4 by Benoît MINISINI: Thanks! Fix is easy now... -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection
http://gambaswiki.org/bugtracker/edit?object=BUG.841=L21haW4- Benoît MINISINI changed the state of the bug to: Fixed. -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection
http://gambaswiki.org/bugtracker/edit?object=BUG.841=L21haW4- Comment #5 by Benoît MINISINI: Fixed in revision #7480. Can someone confirm? -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection
http://gambaswiki.org/bugtracker/edit?object=BUG.841=L21haW4- Comment #6 by Wouter WOLKERS: Still seeing the error messages, but gambas no longer crashes! Thanks for the quick fix -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection
http://gambaswiki.org/bugtracker/edit?object=BUG.841=L21haW4- Comment #3 by Wouter WOLKERS: also made a valgrind report for you for this bug: ==14161== Memcheck, a memory error detector ==14161== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==14161== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==14161== Command: gbx3 ==14161== ==14161== Warning: set address range perms: large range [0x395db000, 0x795dd000) (defined) ==14194== Warning: invalid file descriptor 1024 in syscall close() ==14194== Warning: invalid file descriptor 1025 in syscall close() ==14194== Warning: invalid file descriptor 1026 in syscall close() ==14194== Warning: invalid file descriptor 1027 in syscall close() ==14194==Use --log-fd= to select an alternative log fd. ==14194== Warning: invalid file descriptor 1028 in syscall close() ==14194== Warning: invalid file descriptor 1029 in syscall close() X Error: BadAtom (invalid Atom parameter) 5 Major opcode: 20 (X_GetProperty) Resource id: 0x0 ==14161== Invalid read of size 4 ==14161==at 0x6E8B7E7: X11_get_current_desktop (x11.c:575) ==14161==by 0x6E9797C: MyMainWindow::initProperties(int) (CWindow.cpp:1631) ==14161==by 0x6E9846D: MyMainWindow::present(QWidget*) (CWindow.cpp:1673) ==14161==by 0x6E99BC5: MyMainWindow::showActivate(QWidget*) (CWindow.cpp:1752) ==14161==by 0x40B39C: EXEC_native_quick (gbx_exec.c:1211) ==14161==by 0x43B480: EXEC_loop (gbx_exec_loop.c:1151) ==14161==by 0x40ABCB: EXEC_function_loop (gbx_exec.c:931) ==14161==by 0x40B2C5: EXEC_function_real (gbx_exec.c:895) ==14161==by 0x404B52: main (gbx.c:416) ==14161== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==14161== ==14161== ==14161== Process terminating with default action of signal 11 (SIGSEGV) ==14161== Access not within mapped region at address 0x0 ==14161==at 0x6E8B7E7: X11_get_current_desktop (x11.c:575) ==14161==by 0x6E9797C: MyMainWindow::initProperties(int) (CWindow.cpp:1631) ==14161==by 0x6E9846D: MyMainWindow::present(QWidget*) (CWindow.cpp:1673) ==14161==by 0x6E99BC5: MyMainWindow::showActivate(QWidget*) (CWindow.cpp:1752) ==14161==by 0x40B39C: EXEC_native_quick (gbx_exec.c:1211) ==14161==by 0x43B480: EXEC_loop (gbx_exec_loop.c:1151) ==14161==by 0x40ABCB: EXEC_function_loop (gbx_exec.c:931) ==14161==by 0x40B2C5: EXEC_function_real (gbx_exec.c:895) ==14161==by 0x404B52: main (gbx.c:416) ==14161== If you believe this happened as a result of a stack ==14161== overflow in your program's main thread (unlikely but ==14161== possible), you can try to increase the size of the ==14161== main thread stack using the --main-stacksize= flag. ==14161== The main thread stack size used in this run was 8388608. ==14161== ==14161== HEAP SUMMARY: ==14161== in use at exit: 10,927,688 bytes in 70,033 blocks ==14161== total heap usage: 222,021 allocs, 151,988 frees, 60,917,132 bytes allocated ==14161== ==14161== LEAK SUMMARY: ==14161==definitely lost: 137,896 bytes in 2,210 blocks ==14161==indirectly lost: 46,074 bytes in 1,898 blocks ==14161== possibly lost: 4,893,910 bytes in 19,992 blocks ==14161==still reachable: 5,849,808 bytes in 45,933 blocks ==14161== of which reachable via heuristic: ==14161== stdstring : 548 bytes in 11 blocks ==14161== newarray : 29,512 bytes in 21 blocks ==14161== multipleinheritance: 19,496 bytes in 16 blocks ==14161== suppressed: 0 bytes in 0 blocks ==14161== Rerun with --leak-check=full to see details of leaked memory ==14161== ==14161== For counts of detected and suppressed errors, rerun with: -v ==14161== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5
http://gambaswiki.org/bugtracker/edit?object=BUG.835=L21haW4- Comment #10 by Gianfranco COSTAMAGNA: 1) no-go 2) maybe in the future 3) what I plan ow 4) it would be nice for now I'm trying to upgrade gambas with a forced llvm-3.5. In the future I'll disable jit if the llvm maintainer will ask to remove the package. for sure 4) is the best option for the user experience I'm not the debian gambas package maintainer, but I guess I'll ping the maintainers or upload in a delayed queue the fixes. thanks so far for the support! -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gb.desktop Desktop.ActiveWindow
I have added taskbar example into Gambas Software Farm I hope it's can help On Sat, Oct 31, 2015 at 12:52 AM, herberth guzmanwrote: > Gianluigi greetings and Vuotto > > Thanks for your answers. > > Attach Example of MyPanel and if I work with DesktopWatcher. > > The problem that I have long ago (when I started the project) > MyPanel is not working as a panel (taskbar) example "lxpanel", "fbpanel", > "Tint2". > > I have worked on improving this project (Innova_Desktop), MyPanel is a > deficiency. > > You can see my code, and someone please help me. > > MyPanel: > > If activate a window > If minimize a windows if not is minimized > It does not activate if it is not in the foreground (active behind another > window) > > Try the example and will know what I mean > Excuse me for my bad English. > > Regards > > Herberth Guzmán > > > -- > > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user