[Gambas-user] How to soft depend on gambas3-gb-qt4-webkit
Hi, I make use of the gambas3-gb-qt4-webkit component for showing Help pages (HTML). However, I would like to soft depend on this component. Pseudo-code: If componentIsInstalled("gambas3-gb-qt4-webkit") Then 'use it Else 'open the HTML pages in the default browser using xdg-open EndIf The reason I want to do this, is that I still would like to provide the GTK interface next to the Qt interface (using gb.gui). gambas3-gb-qt4-webkit depends on qt4, and if you depend on qt4 you can't have gb.gui for easy interface switching. A solution would be welcome. Kind regards, Geoffrey De Belie -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] IDE - a stupid question
This is embarrassing! In the Project Properties panel I had Control Properties/Hierarchy, a Help Panel and below that a panel with all the controls available. I accidentally hit a key combination that caused the controls panel to disappear. How can I get it back? -- View this message in context: http://gambas.8142.n7.nabble.com/IDE-a-stupid-question-tp55025.html Sent from the gambas-user mailing list archive at Nabble.com. -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] IDE - a stupid question
F4 -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to soft depend on gambas3-gb-qt4-webkit
Le 16/12/2015 19:02, Geoffrey De Belie a écrit : > Hi, > > > > I make use of the gambas3-gb-qt4-webkit component for showing Help > pages (HTML). > > > > However, I would like to soft depend on this component. Pseudo-code: > > > > If componentIsInstalled("gambas3-gb-qt4-webkit") Then > > 'use it > > Else > > 'open the HTML pages in the default browser using xdg-open > > EndIf > > > > The reason I want to do this, is that I still would like to provide > the GTK interface next to the Qt interface (using gb.gui). > > gambas3-gb-qt4-webkit depends on qt4, and if you depend on qt4 you > can't have gb.gui for easy interface switching. > > > > A solution would be welcome. > > > > Kind regards, > > Geoffrey De Belie > Don't check the component in your project, and the first time you need it, load it dynamically with Component.Load(). If the method fails, note in a variable that you will have to use Desktop.Open(). Regards, -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] IDE - a stupid question
On Wed, 16 Dec 2015 23:44:16 +0100 Moviga Technologieswrote: > > > F4 > -- > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I think F4 by default hides or expands the entire Properties panel. I don't think the "ToolBox" is "disappeared" it is just collapsed (hidden) inside its' vertical side panel. Just above the bottom margin of the IDE form in the properties panel you should be able to hover the mouse over the side panel grab handles. ... let's see if I can include a pic ... hth bruce_PNG 9_L_N__Sv_Q_^ê8,0K __(___#_*c__5&_ _@@M_>_lN__J!_ƻȉ__^_6D__,_A _L_8@Z_^@yZ__e97Z&___-_7__`__p_4?g_/7>___>c~_(Ȼ__dzo^__g'S_ _ɜx|__V5_V i__X_H_Dž_V___H _ (DAޚ'kH_#___|__4Pα4_!(______@D_@˖_|||jשu_____c]_9__ٹV_Z____:zU@_(2_ƙ5__-_%oW̖_e_%___S_e_~__˚__ WTs_H__ņ_+_'_J'___'dK_ec_O__)g~__PqNy__S___Nu_|__Rs~_____H;_ę~jL?Ѻ|/˻c9X_,__X>פ_wÓ_n___w_=__Oީ___x?__s_[___k___p__.U_]_l@VCT9Uf_F___ᑃ__'__L_!A_w___Ee_ZO_}_j_(ti_x__ǁ___s___ ȯ_oqO=__ę憈____/Y_____ӏ___b____Mh]ɧ___w__3O___~__w`_1_~___S_____O*_(QŖ___{_tAwel_%_oNFDF___9__ܻ_,__K__pgg__n9_(__Ol___O__w;__-_}e| jz_F__UΜ:___X_V͐_5___^_T___˗__C_T__.m1~ֈ1|^Ǒ'__v_____41ޛ_Ŵy__8iͰo_X_Y_o__lͥ[\__gŃ_BYG%_n__嶲_G_G__Ƽ___3փ__o___}ޥWW_y_Ǯ__:|____v^g_uq__m_|___M8g]K5___KjR__t_F___l_ƅm=_6_J_8_o5-_Sp__7_^H_X_d|jX̷_\_\kժ)_ ____u__I_%__s_1d_`rng2___/*k9@___F#__w__T_@_U___)_p_9_ϟ?w_ĖA__v_____o1;6__h__Ӳ_t,WE݃;_I&_ ____O_G_A?o:_8___.__ٟBf_A___A)+l˜SIF]_9_:4=\ڶ__?c_RJ_q"__un__2}c___ұb___w_>___ݱ_gc_,b__iytd__$8_J_]^Mk___c_2___u_0_Sb_b___;_ޟPY_DzoVUu____巾_3p__u_uR___vu=晉_h2-_7____iys___d_o|_l _W_ǭ1y.____HO_[▞_q____ __=__#bzz__~CN_<__=__GO__%aQ_X_3__N_;~ֹA_G_Z-h__qO_a_u__b?z__i_Y)d__xپsK__q_fL_n_kV_m۾̈́___DO__e^ __qS_M_^___-_!_$=}_ 7d0_ _m߆___a__dz_|S_g__ooj_R__3P$Q|__0.."99__?_]D8W_V__o__P*_2^@ __TC҇_]___S_A__5s_-__\_p____n__6*__2_m__|Oh__w*Ӭ__5__05_5ҽs_-_6_,___d_0_Wd_t_Q1=__:|__;__d_=__υ=JΖԎE_6hն~I___p__x`ҴK___+_N_|_Q_ڕyfP֭_37__________WOޢo3fv_"b侹_&_q______Ke___;fΛ__at__Q___y___w__c[__^_:t)[___#_ލSX_2_W_Y__dg_0__KI.0SPP__'_@__x?___>u_T_ƍJ_S*Ϟo_____ڵk[}_`0_WN_<T_j___zCV_.___ Ͽ___'_= __D0__j_1____;__f_^__)___M6lذI_I___U___k_Z7jذa___ʞvrR_& 6lشӌ___ƿ_Fm#__ ?ﮧL)G___Vx_)5|Ւ___^))+l__c)߽&_/_z_MP_Q҅__N_?__ɔ__[7r__?3_?Rx_֍___ e+EF? o_b___}>;b_R__ '_@__X:_____\_\e0&___ѽ_kaƘ)-4___m_6{_Yi|_____:,K___ Vۙ(t]_R_cǝϐ@_NL6_e_ ___"f_9__5___m_l___4y___%__&_R_UtQJ__a)<__+__ڭ_k_p_&_\__IEa_̎0_h_ _Y!__Ld1__UO____!__L__,X_k_"_u_L?__)R_%__T._Nʣ)F{Wu__-*46|_gq___*oFF_/jӐh__%rO%*"h_+_`UB__ _D__r_,d__Q_|_*__LWm_(4ݧ_0_įK._K_S_A#!___F_Id[_/CM__m; _D @A_&I__$ _H__{=__B m_MX__Ъy__J_t___催lv_N_b_Ľ_WY#___i__%___?1HI$_____:_`v___+9_#__|}_ qWR_17_s_7___S9__N/Sr__b_k/sZXr__:S_U_w=5_9C_M˟Jm___9__}__ҽo|___dJ5ɕ_*g_G_x_|0st_" _ٰ___N$V__)__p|__t _FC__(_x>_*8__$@ʎ__.T__m"_+ݩ_f֣_j_b/___O:ϣ____eM"$__=}Ѻ__uz_ڳiN_g \Gy\BH<_h]@է|_6_.___V_6o_'f_ո_=___Z__ :_~A___=__˔_2__!0__>O_)3O__`0__ن_W>_)35d0_Sf_2__`0O__`0O_y_ _y__Sf0___Ԑ_`0_2SC__x__PJ><_Uc_F_,_h5_`誾=__ߦ_c __n1F___{__W_m)mZu_p%__E$~=1_S__9eε__ݍw__-___n_t_wl_o}b__tM~_r1_"_ _[__EKPA}~_A____g_nS>6IBҡQL__?_t___^"__]#__ܟ(_{[t_})C")___.&!qߐwF_Hʼ6_K___YDƇ__l_s__D3Y_1r__v_{1C")__w__m{l&1q__._B__R4?_>__w_̒9___N}_>_|__w__ Vӕ__~_e__$_Ȝtf___tiO_ɒr____Ř____u__&_D_ukr__ę__`%___[_u__j_D$e^__V__W_؝_;_9_*__ڤ.}7F祑___,__Lc__/Z_\v3K_2._oע__qa\_~;c___Ŋf__ o_'Z_Z*_K___ñ$A2D_ݱE__O|__
Re: [Gambas-user] IDE - a stupid question
Ah! Yes, F4 does control the whole panel but the lower part (where all the controls are) can be made to disappear (actually made very small) by dragging the border. This I must have done with some clumsy mouse movement. Thanks for all your help. -- View this message in context: http://gambas.8142.n7.nabble.com/IDE-a-stupid-question-tp55025p55029.html Sent from the gambas-user mailing list archive at Nabble.com. -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Question on editing database tables
Hi all, I have used editing on tables multiple times like this for example: rResultEdit = $hConn.Edit("KasAanvullingen", "KassaCode = &1 AND Time = &2 AND Date = &3", sKasAanvulCode, rResultAanvul!Time, rResultAanvul!Date) Now I'm facing a harder one: I have this table and it needs to be edited, but for that records need to be ordered based on code, date and amount I tried this: rResultFact = $hConn.Edit("ICDagResFactNee", "ORDER BY Code, Date, Amount") but that results in an empty result. Guess the second argument only replaces a WHERE Now, this order is very important in this case as the proper records need to be edited and the default order of the table is not the desired one and will lead to data integrity problems when editing as is. Can one use DB.Edit so the result is ordered in a certain desired manner? Thanks, gbWilly -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] possible bug, a '\' inside "" treats as escape even a char to print
i put this code: Print "\" But the ide thinks the i must put another '\' .. if not added a extra " at the end! So its normal and correct i put : Print "\\" and will print in console the \ normally? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] possible bug, a '\' inside "" treats as escape even a char to print
thanks, confirmed, now the printer captures the proper char! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] possible bug, a '\' inside "" treats as escape even a char to print
Yes, the backslash is the standard escape character, so in order to print one you should put 2 together. Heck... actually you should put twice as many you need: If you need \\\, you use "\\". Common ASCII escape sequences: If you want a line feed, the escape sequence is \n, a tab is \t, a carriage return is \r, and so on. Regards, zxMarce. On Dec 16, 2015, 12:43, at 12:43, PICCORO McKAY Lenzwrote: >i put this code: > >Print "\" > >But the ide thinks the i must put another '\' .. if not added a extra " >at >the end! > >So its normal and correct i put : > >Print "\\" and will print in console the \ normally? > > >Lenz McKAY Gerardo (PICCORO) >http://qgqlochekone.blogspot.com >-- >___ >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