|
||||||||||||||||||||||||||||||||
ShowPicker (ByVal hwnd As Long, ByVal ColorRef As Farbvorgabe, ByVal xColor As Long) As VariantÖffnet bei einem beliebigen Steuerelement, dessen hwnd übergeben wird das JR-Colorselector-Popup-Fenster.
|
Syntax: |
JRHtmlColorSelector1.ShowPicker (mycontrol.hwnd, colorref, xcolor) |
||
JRHtmlColorSelector1.ShowPicker (mycontrol.hwnd, colorref, xcolor) |
  |
Einstellungen: |
|
||
hwnd |
hwnd des Steuerelements, in dessen Nähe das Auswahlfenster angezeigt werden soll |
||
colorref |
legt fest, ob die in xcolor übergebene Vorgabefarbe ein Farbindex oder RGB-Farbwert darstellt. |
||
xcolor |
RGB Farbwert oder Farbindex (0-140) der Farbe, die beim öffnen des Popupfensters angewählt sein soll. |
Rückgabewert: |
|
||
Keiner |
|
Beispiel:            
Private Sub Command1_Click(Index As Integer)
Form1.JRHtmlColorSelector2(0).Tag = Index + 50
Form1.JRHtmlColorSelector2(0).ShowPicker Command1(Index).hWnd, AsColor, Text1(Index).BackColor
End Sub