Search found 72 matches: opopup

Return to advanced search

Re: BtnBmp and oPopup

Hello, That was just a suggestion. Here we need new data variables. Then everyone can load the ICON they want. Again, it should only serve as a suggestion to extend the class. It's like comparing apples and oranges to modify a class for personal use or to make it universally applicable. I can only d...
by Otto
Wed Jun 07, 2023 12:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and oPopup
Replies: 4
Views: 396

Re: BtnBmp and oPopup

I agree with Silvio, it wasn't good.

Estoy de acuerdo con Silvio, no fue bueno.

Regards, saludos.
by karinha
Wed Jun 07, 2023 12:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and oPopup
Replies: 4
Views: 396

Re: BtnBmp and oPopup

... {::nHeight-30, ::nWidth-25, ::nHeight - 10, ::nWidth-5}, .t. ) for me it's no good perhaps... data hBmpPop on METHOD Paint() CLASS TBtnBmp if ::oPopup != nil if ::hBmpPop != 0        DrawBitmap( ::hDC, ::hBmpPop, aRect[1]+5, aRect[4]-15 )            else   ::PaintPopupSection()endifendif ...
by Silvio.Falconi
Wed Jun 07, 2023 8:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and oPopup
Replies: 4
Views: 396

Re: BtnBmp and oPopup

Dear Otto,

thank you for sharing it :-)
by Antonio Linares
Fri Jun 02, 2023 10:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and oPopup
Replies: 4
Views: 396

BtnBmp and oPopup

... CLASS TBtnBmp   local nWidth, nHeight, hDC   local hBlackBrush, hOldBrush   local hDarkPen, hLightPen, hOldPen           if ::oPopup != nil      nHeight = ::nHeight      nWidth  = ::nWidth       hDC     = ::hDC                  hBlackBrush = GetStockObject( 4 )  //4  ...
by Otto
Fri Jun 02, 2023 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and oPopup
Replies: 4
Views: 396

Re: oPopUp in class btnbmp

Antonio
btnbmp.prg the files is too big the forum will not accept it,
I'll send it to your mail
Maurizio
by Maurizio
Mon Oct 17, 2022 7:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 759

Re: oPopUp in class btnbmp

Antonio Linares wrote:Dear Silvio,

Thats why I asked Maurizio to post the complete PRG :-)

I asked now via private mail ...same question
by Silvio.Falconi
Mon Oct 17, 2022 7:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 759

Re: oPopUp in class btnbmp

Dear Silvio,

Thats why I asked Maurizio to post the complete PRG :-)
by Antonio Linares
Mon Oct 17, 2022 7:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 759

Re: oPopUp in class btnbmp

... 18 #define POPWIDTH 30 //12 new variable in line 129 DATA nWide_P set variable line 325 ::nWide_P := 22 and line 503 ::nWide_P := 22 Line 525 If( oPopup != nil, ::nWide_P, 0 ) //// My_modi If( oPopup != nil, 13, 0 ) Line 578 //::oWnd:nWidth := ::oWnd:nBtnWidth + If( ::oWnd:l3D, 3, 1 ) + 13 + 1 ...
by Silvio.Falconi
Mon Oct 17, 2022 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 759

Re: oPopUp in class btnbmp

Dear Maurizio,

good morning

would you mind to post the complete PRG here ?

many thanks
by Antonio Linares
Mon Oct 17, 2022 6:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 759

Re: oPopUp in class btnbmp

... 18 #define POPWIDTH 30 //12 new variable in line 129 DATA nWide_P set variable line 325 ::nWide_P := 22 and line 503 ::nWide_P := 22 Line 525 If( oPopup != nil, ::nWide_P, 0 ) //// My_modi If( oPopup != nil, 13, 0 ) Line 578 //::oWnd:nWidth := ::oWnd:nBtnWidth + If( ::oWnd:l3D, 3, 1 ) + 13 + 1 ...
by Maurizio
Mon Oct 17, 2022 6:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 759

Re: oPopUp in class btnbmp

I often use btnBmp: oPopUp, but in the button the horizontal space reserved for the PopUp is tight. It is possible in future versions to have a variable to fix the width directly in the btnbmp class. prg? (Now I modified the btnbmp.prg ...
by Silvio.Falconi
Sun Oct 16, 2022 9:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 759

Re: oPopUp in class btnbmp

Dear Silvio, function AdjustWnd() is public on github posted by Jose Luis: https://github.com/JoseluisSanchez/colossus/blob/0dcf9170fb24c33dd973520097f39a5e3d1d4780/prg/ut_common.prg Lets try to help Maurizio here, thanks Antonio, Te expliqué en privado. josè de alanit si bien ha public...
by Silvio.Falconi
Sun Oct 16, 2022 9:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 759

Re: oPopUp in class btnbmp

Dear Silvio,

function AdjustWnd() is public on github posted by Jose Luis:
https://github.com/JoseluisSanchez/colossus/blob/0dcf9170fb24c33dd973520097f39a5e3d1d4780/prg/ut_common.prg

Lets try to help Maurizio here, thanks
by Antonio Linares
Sun Oct 16, 2022 7:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 759

Re: oPopUp in class btnbmp

Dear Silvio, here you made it PUBLIC as well. The moment you post a source code on FORUM, the source code belongs to all FIVEWIN users. It's the rules, if you understand that you won't be able to fit the forum rules, feel free to stay or leave honorably. Estimado Silvio, aquí lo hiciste PÚBLICO tam...
by Silvio.Falconi
Sat Oct 15, 2022 9:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 759
Next

Return to advanced search

cron