Jump to content
Sign in to follow this  
EFF

Listview And Combobox Within

Recommended Posts

EFF

Look at this screenshot:

Posted Image

You can see here a listview and a radio button in one of the list view column. I need something simmilar, but with the combo box. Is this possible?

I was wondering if i can load to my script custom ocx controls, and eventually how do i do it?

Please help :)

Share this post


Link to post
Share on other sites
CoDEmanX

horizontal scrollbar:

Posted Image

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("AForm2", 193, 190, 394, 311)
$ListView1 = GUICtrlCreateListView("header_width...", 32, 32, 122, 126, BitOR($LVS_LIST,$LVS_SINGLESEL,$LVS_SHOWSELALWAYS), BitOR($WS_EX_CLIENTEDGE,$LVS_EX_CHECKBOXES))
$ListView1_0 = GUICtrlCreateListViewItem("one", $ListView1)
$ListView1_1 = GUICtrlCreateListViewItem("two", $ListView1)
$ListView1_2 = GUICtrlCreateListViewItem("three", $ListView1)
$ListView1_3 = GUICtrlCreateListViewItem("four", $ListView1)
$ListView1_4 = GUICtrlCreateListViewItem("five", $ListView1)
$ListView1_5 = GUICtrlCreateListViewItem("six", $ListView1)
$ListView1_6 = GUICtrlCreateListViewItem("seven", $ListView1)
$ListView1_7 = GUICtrlCreateListViewItem("eight", $ListView1)
$ListView1_8 = GUICtrlCreateListViewItem("nine", $ListView1)
$ListView1_9 = GUICtrlCreateListViewItem("ten", $ListView1)
$ListView1_10 = GUICtrlCreateListViewItem("eleven", $ListView1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd
oÝ÷ ÚëÞ®Øj[®emªÿ¹Ê%ºiáy§^­Æ©¶*'oÝ÷ Úì"¶.·Mú-T8#PÃGÄGû¢w«+-Â'm
.ÖÞ¶'jºèí­rnx^i׫qªmâm¶ÿh;Ö)ë!iÉ.³ø¦½Û_?rº1+-Þºü?hºÚ"µÍÚ[ÛYH   ÑÕRPÛÛÝ[Ë]LÉÝÂÔYÚ[ÛÈÈÈÕTÛÙHÕRHÙXÝ[ÛÈÈÈÜOBÌÍÑÜLHÕRPÜX]J  ][ÝÐQÜL][ÝËNLËNLÎMÌLJBÌÍÓÝY]ÌHHÕRPÝÜX]SÝY]Ê   ][ÝÚXYÝÚY][ÝËÌÌLL]Ô    ÌÍÓ×ÔÒSÓTÑS ÌÍÓ×ÔÒÕÔÑSSÐVTÊK]Ô  ÌÍÕÔ×ÑVÐÓQSQÑK ÌÍÓ×ÑVÐÒPÒÐÖTË   ÌÍÓ×ÑVÑSÕÔÑSPÕ
JBÌÍÓÝY]ÌWÌHÕRPÝÜX]SÝY]Ò][J  ][ÝÛÛI][ÝË ÌÍÓÝY]ÌJBÌÍÓÝY]ÌWÌHHÕRPÝÜX]SÝY]Ò][J ][ÝÝÛÉ][ÝË    ÌÍÓÝY]ÌJBÌÍÓÝY]ÌWÌHÕRPÝÜX]SÝY]Ò][J  ][ÝÝYI][ÝË  ÌÍÓÝY]ÌJBÌÍÓÝY]ÌWÌÈHÕRPÝÜX]SÝY]Ò][J    ][ÝÙÝ][ÝË  ÌÍÓÝY]ÌJBÌÍÓÝY]ÌWÍHÕRPÝÜX]SÝY]Ò][J  ][ÝÙ]I][ÝË  ÌÍÓÝY]ÌJBÌÍÓÝY]ÌWÍHHÕRPÝÜX]SÝY]Ò][J ][ÝÜÚ^   ][ÝË  ÌÍÓÝY]ÌJBÌÍÓÝY]ÌWÍHÕRPÝÜX]SÝY]Ò][J  ][ÝÜÙ][][ÝË    ÌÍÓÝY]ÌJBÌÍÓÝY]ÌWÍÈHÕRPÝÜX]SÝY]Ò][J    ][ÝÙZYÚ  ][ÝË  ÌÍÓÝY]ÌJBÌÍÓÝY]ÌWÎHÕRPÝÜX]SÝY]Ò][J  ][ÝÛ[I][ÝË  ÌÍÓÝY]ÌJBÌÍÓÝY]ÌWÎHHÕRPÝÜX]SÝY]Ò][J ][ÝÝ[][ÝË   ÌÍÓÝY]ÌJBÌÍÓÝY]ÌWÌLHÕRPÝÜX]SÝY]Ò][J ][ÝÙ[][][ÝË ÌÍÓÝY]ÌJBÕRTÙ]Ý]JÕ×ÔÒÕÊBÑ[YÚ[ÛÈÈÈSÛÙHÕRHÙXÝ[ÛÈÈÂÚ[HBIÌÍÛÙÈHÕRQÙ]ÙÊ
BTÝÚ]Ú   ÌÍÛÙÂBPØÙH   ÌÍÑÕRWÑUSÐÓÔÑBBBQ^]Q[ÝÚ]ÚÑ[

Share this post


Link to post
Share on other sites
randallc

Hi,

Closest I have seen is in @Eltorro's;

Edit In Place Listview, though the combo's (depending what column you have set the date, Combo ox or whatever) only come up when selected that cell....)

Best, Randall

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.