Hi,
Like hBmpRecSel := FwRArrow()
hBmpBtnList := FwDArrow()
hBmpSortAsc := FwBmpAsc()
hBmpSortDes := FwBmpDes()
Are there checked, uncheck box bitmap functions ?
Regards!
Shuming Wang
Are there checked uncheck box bitmap functions ?
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
-
- Posts: 56
- Joined: Mon Jul 03, 2006 2:34 am
I'm keen for same facility.
For many years I have used the following for a Tick / Empty pair:
--------------
// Use OEM system resources <- Black tick
LOCAL _hOn := LoadBitMap(0, OBM_CHECK)
// Next equates to an empty cell and is treated as if it were bitmap
LOCAL _hOff := Chr(160)
-------------
//When finished with these, do this
DeleteObject(_hOn)
---------------
The above approach works fine - it's just not as visually pretty as I would like.
Colin Wisbey
For many years I have used the following for a Tick / Empty pair:
--------------
// Use OEM system resources <- Black tick
LOCAL _hOn := LoadBitMap(0, OBM_CHECK)
// Next equates to an empty cell and is treated as if it were bitmap
LOCAL _hOff := Chr(160)
-------------
//When finished with these, do this
DeleteObject(_hOn)
---------------
The above approach works fine - it's just not as visually pretty as I would like.
Colin Wisbey
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 56
- Joined: Mon Jul 03, 2006 2:34 am
Re: Are there checked uncheck box bitmap functions ?
Apologies for resurrecting such an old post but hoping it's been solved by now. I've been out of the FWH community loop for long time but need to revisit some legacy apps of mine and, in my browses based on TCBrowse, it seems that the next bit still works to display a check (tick) in a cell but no longer works (under Win 10 32 bit) to display a "blank" to represent unchecked. Now using CHR(160) results in an oversized red cross instead of a blank as it had done under Win XP, Vista and Win 7 32bit.
_hOn := LoadBitMap(0, OBM_CHECK) // Use OEM system resources <- Black tick <- this still works fine
// Next equates to an empty cell and is treated as if it were bitmap
LOCAL _hOff := Chr(160) // <- this no longer works.
Anyone have a suggestion? Many thanks in advance.
Colin Wisbey
(BTW, regards to all my old FW/FWH friends, many of whom I'm pleased to notice are still active on here).
_hOn := LoadBitMap(0, OBM_CHECK) // Use OEM system resources <- Black tick <- this still works fine
// Next equates to an empty cell and is treated as if it were bitmap
LOCAL _hOff := Chr(160) // <- this no longer works.
Anyone have a suggestion? Many thanks in advance.
Colin Wisbey
(BTW, regards to all my old FW/FWH friends, many of whom I'm pleased to notice are still active on here).
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Are there checked uncheck box bitmap functions ?
FWBmpOn() and FWBmpOff()
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
-
- Posts: 56
- Joined: Mon Jul 03, 2006 2:34 am
Re: Are there checked uncheck box bitmap functions ?
Thank you as always, my friend, and especially for such a prompt response but I've been out of the Fivewin loop and my FWH version is about 2008 so does not have those functions.
Regards,
Colin
Regards,
Colin
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Are there checked uncheck box bitmap functions ?
Hi Colin, it's a pleasure to see you hanging around here again.
EMG
EMG
-
- Posts: 56
- Joined: Mon Jul 03, 2006 2:34 am
Re: Are there checked uncheck box bitmap functions ?
Thanks, Enrico. Cheers, mate.
Col
Col