Well because the stringlist has a duplicates property,and tsrtings does not. but I did get around this by using the first example above.
when i add to the listbox i first add to a globall stringlist. then i clear the list box and copy the stringlist to the listbox. works fine for what i need...
there is a bug in the shelllistview onAdvancedCustomDrawItem. the item.caption property is always ''. kinda makes the AdvancedCustomDrawItem event for this component usless. works fine for the tlistview.
any way around this?
I am trying to put an internet searchbox on a form, but i need to use html as the source. if i use the twebbrowser i get an ugly box with scrollbars!
im doin somthin similar to what kazaa does with their advertising right on their form.
or how can I remove scrollbars from a window- like the...
but yet when I step through the code i see it get set to true, but the button is still disabled. I created a test mdi app with a few buttons and can set their props from the child form with no prob. so I think there is somthing i don't yet know. maybe its in the webrowser component.
even thid...
I am trying to set a buttons enable property from within the child form, but nothing happens.
procedure TMDIChild.WebBrowser1CommandStateChange(Sender: TObject;
Command: Integer; Enable: WordBool);
begin
case Command of
CSC_NAVIGATEBACK: form1.backbtn.Enabled:=Enable...
I got it to work like this:
const //string version of trootfolder in ShellCtrls.pas
TRootFolders :array[1..23] of string = ('rfDesktop', 'rfMyComputer', 'rfNetwork', 'rfRecycleBin', 'rfAppData',
'rfCommonDesktopDirectory', 'rfCommonPrograms', 'rfCommonStartMenu', 'rfCommonStartup'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.