Hi Jose
Is an Xailer ImageList compatiable with Activex?
I'm trying to do this
aItems := Array(5)
WITH OBJECT ::oBar := TShortcutBar():New(::oPanel2)
:nAlign:=alClient
:nWidth := 100
:nHeight := 300
:Create()
:AddImageList(::oImageList1)
aItems[1] := :AddItem(0,"Calendar",::oDatePicker:hWnd)
aItems[2] := :AddItem(1,"Jobs", )
aItems[3] := :AddItem(2,"Companies",)
aItems[4] := :AddItem(3,"Contacts",)
aItems[5] := :AddItem(4, "Settings", ::oProps:hWnd)
:ExpandedLinesCount := 6
END
I get this error
TOLEAUTO:ADDIMAGELIST(0)
Error 21347944/15 DISP_E_PARAMNOTOPTIONAL: ADDIMAGELIST
Arguments: ( [ 1] = Type: O Val: )
From the Codejock help
Xtreme Shortuct Bar ActiveX Control v11.2
AddImageList Method
Description
Adds icons from an image list that are used to display ShortcutBar items
Syntax
Public Sub AddImageList( _
ByVal ImageList As Object _
)
Parameters
ImageList
The ImageList object from which icons are to be added
Remarks
Tells the ShortcutBar control which ImageLists control(s) will be used. The images are used to displayed an icon for each shortcut in the ShortcutBar.
--
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Codejock and Image Lists
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am