Search found 46 matches

by JosK
Wed Jan 18, 2012 7:57 pm
Forum: HMG4 Project Developers' Table
Topic: hmg.4 bug ButtonBox.prg ?
Replies: 2
Views: 435

Re: hmg.4 bug ButtonBox.prg ?

danielmaximiliano wrote:Try

Svn Update
Buildlib

drag and drop demo_1.prg over build.bat, compile perfectly, to run this legend shows
buttonbox_2012-01-17_23-06-58.png
Yeps .. that is also not good. Different error ;-)
by JosK
Tue Jan 17, 2012 11:24 pm
Forum: HMG4 Project Developers' Table
Topic: hmg.4 bug ButtonBox.prg ?
Replies: 2
Views: 435

hmg.4 bug ButtonBox.prg ?

Error Base/9999 Argument erro: _HBQT_ERROR Called from ButtonBox:addbutton(99) Line 99 in buttonbox.prg myProg.ppo: :addButton("B1",0x00000400,{||MsgInfo("b1")}) This gives the error if you look at hmg.4\svn\samples\buttonbox\demo_2.ppo :addButton( 0x00000400,,{||MsgInfo("ok")}) And this is good. So...
by JosK
Sat Jan 14, 2012 12:13 am
Forum: HMG General Help
Topic: Error DBCMD/2001 Workarea not in use: ORDLISTADD
Replies: 7
Views: 4088

Re: Question about 『Error DBCMD/2001 Workarea not in use: OR

i had the same error with virtualgrid Function MaakBrowseDbf1() use dbf1.dbf MaakBrowse() Function MaakBrowseDbf2() use dbf2.dbf MaakBrowse() Function MaakBrowse() local o o:=Virtualgrid:New() o:workarea:=alias() This gives the error. The solution is: select 1 use dbf1 select 2 use dbf2 Hello everyo...
by JosK
Tue Dec 20, 2011 12:50 am
Forum: HMG4 Project Developers' Table
Topic: How to hide a tabpage ?
Replies: 6
Views: 667

Re: How to hide a tabpage ?

Today there is, in QT, a TabRemoved(int index) and
http://qt.gitorious.org/qt/qt/blobs/4.7 ... .h#line161
by JosK
Mon Dec 19, 2011 11:22 pm
Forum: HMG4 Project Developers' Table
Topic: How to hide a tabpage ?
Replies: 6
Views: 667

Re: How to hide a tabpage ?

i have changed svn\samples\demo_1.prg. This to test enabled(.f.) (add three or four lines) #include "hmg.ch" #include "hbqtgui.ch" FUNCTION Main LOCAL oTab LOCAL oPage1 LOCAL oPage2 LOCAL oWindow HbQt_ErrorSys() WITH OBJECT oWindow := MAINWINDOW():New() :Row := 10 :Col := 10 :Width := 400 :Height :=...
by JosK
Mon Dec 19, 2011 11:14 pm
Forum: HMG4 Project Developers' Table
Topic: How to hide a tabpage ?
Replies: 6
Views: 667

Re: How to hide a tabpage ?

mrduck wrote:It seems it is not supported by Qt.

http://lists.trolltech.com/qt-interest/ ... 600-0.html
Thank you for the link.
by JosK
Mon Dec 19, 2011 11:07 pm
Forum: HMG4 Project Developers' Table
Topic: How to hide a tabpage ?
Replies: 6
Views: 667

Re: How to hide a tabpage ?

i can do oTP2:Enabled(.f.) There is no (not yet a) methode for remove in hmg.4 Something like: void MainWindow::removeTab(int index) { QString classname = ui->tabWidget->widget(index)->metaObject()->className(); ui->tabWidget->removeTab(index); if (classname == "FormAccounts") { delete formAccounts;...
by JosK
Mon Dec 19, 2011 10:16 pm
Forum: HMG4 Project Developers' Table
Topic: i have add methode Flat in abstractbutton.prg
Replies: 19
Views: 1489

Re: i have add methode Flat in abstractbutton.prg

I like to come back to the thread theme (" i have add methode Flat in abstractbutton.prg"). Josk, I don´t understand why you added a METHOD FLAT to the ABSTRACTBUTTON class. ABSTRACTBUTTON inherits from CONTROL, and CONTROL still has this method: /*.....................................................
by JosK
Mon Dec 19, 2011 4:17 pm
Forum: HMG4 Project Developers' Table
Topic: How to hide a tabpage ?
Replies: 6
Views: 667

Re: How to hide a tabpage ?

oTp2:visible(.f.) has no result.
by JosK
Mon Dec 19, 2011 4:04 pm
Forum: HMG4 Project Developers' Table
Topic: How to hide a tabpage ?
Replies: 6
Views: 667

How to hide a tabpage ?

wMain :=MaakMain("wMain") oCW :=Widget():New("oCW",wMain) oCW :CentralWidgetOF(wMain) oLB :=LayoutBox():New("oLB",oCW,LAYOUT_TOPTOBOTTOM) with object oTab:=Tab():New("oTab") oTP1:=MaakTP1("oTP1",oTab) oTP2:=MaakTP2("oTP2",oTab) oTP3:=MaakTP3("oTP3",oTab) end OLB:add(oTab) //oTab:hide() -> good, the ...