Search found 25 matches: greyed

Return to advanced search

Re: Disabled buttons at oBar not greyed out after using FWH1912

hua wrote:Thanks for the reply Karinha. Are you linking using FWH1912?


FWH1905.

Did you test the example as I sent it? Show a picture of what it looks like.

¿Probaste el ejemplo tal como lo envié? Muestre una imagen de cómo se ve.

Gracias, thanks.

Reagrds, saludos.
by karinha
Fri Sep 15, 2023 1:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

Hi Rao,
Yes, using GDIP clause will always make it work but the image it produce looses the sharpness, becomes a bit blurry

Image
by hua
Fri Sep 15, 2023 3:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

Thanks for the reply Karinha. Are you linking using FWH1912?
by hua
Fri Sep 15, 2023 3:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

Your testbar.prg slightly modified: #include "FiveWin.ch"static oWnd, oBarstatic lEnable := .t.//----------------------------------------------------------------------------//function Main()   local oBtn   DEFINE WINDOW oWnd//   define buttonbar oBar of oWnd size 30,33 2015 3DLOOK/...
by nageswaragunupudi
Thu Sep 14, 2023 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

testbar.prg with minor modifications: https://imagizer.imageshack.com/v2/xq70/924/BhebBx.png https://imagizer.imageshack.com/v2/xq70/922/NWTQwe.png https://imagizer.imageshack.com/v2/xq70/922/rj3QTx.png // This sample shows how to create a Management M...
by nageswaragunupudi
Thu Sep 14, 2023 6:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

// TESTBAR4.RCopen     BITMAP "../bitmaps/open.bmp"close    BITMAP "../bitmaps/close.bmp"exit     BITMAP "../bitmaps/exit.bmp"cut      BITMAP "../bitmaps/cut.bmp"copy     BITMAP "../bitmaps/copy.bmp&...
by karinha
Thu Sep 14, 2023 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

// C:\FWH\SAMPLES\TESTBAR4.PRG and TESTABAR4.RC#Include "FiveWin.ch"STATIC oWndSTATIC OBTNB_MOD, OBTNB_TOP, OBTNB_PREV, OBTNB_NEXT, OBTNB_BOTT, OBTNB_EXITSTATIC LOBTNB_MOD  := .T., LOBTNB_TOP  := .T., LOBTNB_PREV := .T.,  ;       LOBTNB_NEXT := .T., LOBT...
by karinha
Thu Sep 14, 2023 3:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

... But for my module which supply only 1 image for a button, it still behave the same, some buttons are greyed out some are not. I created a self-contained program so you can test it. The .rc was created using Borland Resource Workshop https://drive.google.com/file/d/1kNGMOVvKeEppVLCR2OEPHLhgjtJit_qF/view?usp=sharing ...
by hua
Thu Sep 14, 2023 8:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

Thanks for pointing out. Will you please make the following 2 changes in the "btnbmp.prg" and test? First change: In the btnbmp.prg, please go to the METHOD PaintBitmap() Please locate these lines: 1547 to 1590 in version 1911      lPalBtnPaint   := .t.    &nb...
by nageswaragunupudi
Wed Sep 13, 2023 6:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

Is it Normal, Pressed, Inactive and Mouse Over?

Yes
by nageswaragunupudi
Wed Sep 13, 2023 11:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

Some observations after test: 1. DEFINE BUTTON OF oBar ... WHEN .F. will also show image not greyed out even though it's not clickable 2. Will show grey out button during disabled state if the grey button image is provided      DEFINE BUTTON oBtnB_Top RESOURCE "B_TOP","B_TOP","B_GREY","B_TOP" ...
by hua
Wed Sep 13, 2023 8:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

karinha wrote:oBtn is LOCAL or STATIC?


LOCAL
by hua
Tue Sep 12, 2023 2:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

oBtn is LOCAL or STATIC?

Code: Select all  Expand view

   ACTIVATE WINDOW oWnd ON INIT( oBtn:disable(), oBtn:Refresh() )
 


Regards, saludos.
by karinha
Mon Sep 11, 2023 12:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686

Re: Disabled buttons at oBar not greyed out after using FWH1912

Properly greyed out if use DEFINE BUTTONBAR GDIP clause but buttons' images are not sharp

Image

With clause 2015
Image
by hua
Mon Sep 11, 2023 10:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled buttons at oBar not greyed out after using FWH1912
Replies: 17
Views: 1686
Next

Return to advanced search

cron