Search found 64 matches: oimagelist

Return to advanced search

FWH2307: List View Unicode compatible

... [code]#include "FiveWin.ch" function Main() local oWnd, oLvw, nOption := 1, oImageList DEFINE WINDOW oWnd TITLE "ListView Test" DEFINE IMAGELIST oImageList SIZE 32, 32 oImageList:AddIcon( "console" ) oImageList:AddIcon( ...
by nageswaragunupudi
Sun Aug 27, 2023 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH2307: List View Unicode compatible
Replies: 1
Views: 231

Re: Preview Window size

... ( ::oWnd:oIcon := nil ,; ::oFont:End() ,; ::oCursor:End() ,; ::oMeta1:End() ,; ::oMeta2:End() ,; ::oDevice:End() ,; ::oHand:End() ,; If( Empty( ::oImageList ),, ( ::oImageList:End(), ::oImageList := nil ) ),; If( ! Empty( ::oImageListPages ), ::oImageListPages:End(),),; ::oWnd := nil ,; ::oDevice:oPreview ...
by Silvio.Falconi
Tue Oct 15, 2019 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview Window size
Replies: 6
Views: 831

Re: Un problemita con TTreeView

... Static aSelected := {} Static oTree //----------------------------------------------------------------------------// Function Main() local oDlg, oImageList, n, ncargo local oBtt2 local oFnt DEFINE FONT oFnt NAME "Calibri" SIZE 0, -16 DEFINE DIALOG oDlg TITLE "Tipos de Servicios" ...
by jbrita
Wed Feb 20, 2019 11:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un problemita con TTreeView
Replies: 14
Views: 3205

atualizar TOOLBAR

para atualizar o menu faço assim:
oWnd:setmenu( MenuPrincipal() )
oWnd:Refresh()

pergunta, como faço para atualizar TOOLBAR ?
ex: DEFINE TOOLBAR oToolBar OF oWnd SIZE 50, 58 IMAGELIST oImageList BALLOON
??
by Sistem
Wed Feb 13, 2019 6:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: atualizar TOOLBAR
Replies: 8
Views: 865

Re: BOM production

... obl1:odlg:obar:AEVALwhen() return FUNCTION eng0504(itemid1,version1,ctable1,ctable2) local oWnd1, oTree, oBmp1, oBmp2, odb1 // private oImageList if ctable1==nil ctable1:="bom1" end if ctable2==nil ctable2:="bom2" end DEFINE WINDOW oWnd1 FROM 3, 0 TO 30, 120 ; TITLE ...
by ShumingWang
Fri Apr 27, 2018 2:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BOM production
Replies: 3
Views: 1128

Re: Add images to oImageList

Thank You, Antonio ! Work normally
by Natter
Wed Feb 14, 2018 12:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add images to oImageList
Replies: 2
Views: 441

Re: Add images to oImageList

Class TImageList Method Add() expects a Class TBitmap object and not a bitmap handle

Try it this way:

TTreeview: oImageList:Add( TBitmap():Define( ,, oWnd, img ), oWnd )
by Antonio Linares
Wed Feb 14, 2018 10:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add images to oImageList
Replies: 2
Views: 441

Add images to oImageList

Hi, all ! There is a TTreeview object. It contains a set of files of different types. I need to add icons associated with the file type to ::oImageList. I do this: img=BmpFromIcon( EXTRACTASSICON (0, MyFile, @sol)) - handle bitmap TTreeview: oImageList:Add(img, NIL) But get the error: Class ...
by Natter
Wed Feb 14, 2018 10:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add images to oImageList
Replies: 2
Views: 441

Gdi and Listview

... Now fopr save the image of the file into listview I made: nImage := Icon_Read(cFile) nImage := max(0,ILADDICON( oImageList:hImageList, nImage ) ) oItem = TListViewItem():New( oList ) oItem:cText = cFile oItem:nImage = nImage oItem:Create() but I save only the ...
by Silvio.Falconi
Sat Dec 10, 2016 11:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Gdi and Listview
Replies: 1
Views: 497

Re: toolbar class as Menu 2015

Local oImageList, oReBar,oHand Local nColore_ToolBar:= RGB( 244, 245, 245 ) //2015... DEFINE CURSOR oHand HAND DEFINE IMAGELIST oImageList SIZE 32,30 oImageList:AddMasked( TBitmap():Define( "TOOLBAR_ESERCIZI",, ::oWndMain ...
by Silvio.Falconi
Wed Jan 20, 2016 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: toolbar class as Menu 2015
Replies: 7
Views: 1224

Re: toolbar class as Menu 2015

... the background of the button but I cannot modify the color od the rebar http://www.eoeo.it/wp-content/uploads/2016/01/toolbar.jpg oImageList:AddMasked( TBitmap():Define( "TOOLBAR_ESERCIZI",, ::oWndMain ), RGB( 244, 245, 245 ) ) any solution ? Silvio, style 2015 in oBar ...
by cnavarro
Wed Jan 20, 2016 9:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: toolbar class as Menu 2015
Replies: 7
Views: 1224

toolbar class as Menu 2015

... the background of the button but I cannot modify the color od the rebar http://www.eoeo.it/wp-content/uploads/2016/01/toolbar.jpg oImageList:AddMasked( TBitmap():Define( "TOOLBAR_ESERCIZI",, ::oWndMain ), RGB( 244, 245, 245 ) ) any solution ?
by Silvio.Falconi
Wed Jan 20, 2016 9:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: toolbar class as Menu 2015
Replies: 7
Views: 1224

Select of ImageList's format

Hello,
I am adding a listView in our program, and I see that the ImageList is always created at 24bit with alpha, but I want add 32bit icons.
Now I change oImageList:hImageList with one created with ILC_COLOR32.
Here the difference:
Image
Regards,
Perry
by AntoninoP
Mon Jun 08, 2015 10:27 am
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: Select of ImageList's format
Replies: 0
Views: 602

Re: To Nages: Proposal for implementation

... DIALOG..oDlgLook. nColore_ToolBar := LIGHTCYAN Create_ImageList(nColore_ToolBar) ....ACTIVATE DIALOG oDlgLook CENTER; ON INIT BtnBarLook(oImageList) RETUR NIL //---------------------------------------------------------------------------------// Function Create_ImageList(nColore_ToolBar) ...
by Silvio.Falconi
Tue May 14, 2013 6:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages: Proposal for implementation
Replies: 28
Views: 6432

Re: error interno FWH

me parece que ::oWnd : NIL debe se la ultima linea antes del true final. ::oImageList es un objeto que por lo general esta asociado a un hWnd, y pienso en este caso que debe estar usando el oWnd:hWnd , y al ser oWnd ya nil, puede reventar.       VALID        ( ...
by Antonio Linares
Tue Feb 12, 2013 9:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: error interno FWH
Replies: 24
Views: 4359
Next

Return to advanced search