Hi,
I am new to c# and not sure how to do the following.
I have to namespaces. Namespace2 is compiled at runtime and always has a different name. The properties and methods are however known.
From namespace1 I want to be able to access instances of a class in namespace2.
To get a reference...
Hi,
I would like to use a ShellTreeView. The problems is that when you click 'My Computer' in the shell TreeView the a: drive is activated. This is rather annoying. Is there a trick to stop this or disable the a: drive in the treeview (since it is not used anyway)?
Thanks,
Raoul
By default the Glyph is positioned on top of the Caption in a toolbar. How can you position the glyph on the left? There seem to be no property that let's you do this.
Thanks,
Raoul
I had the same problem. I found that it had to do with windows XP using themes. In ms case all panels were painted black.
I solved it by putting the ParentColor and ParentBackground properties of all panels to false and defining the color property of all panels in the forms OnCreate Method...
Thanks Stretchwickster!
For the Name property this works fine. But how to access the properties of for example a TMemo that are not associated with Controls (like WordWrap)?
Raoul
Hi,
I have tabsheets created in run-time and TMemo's as the child object.
On top of the PageControl I have a TEdit. The idea is that the TEdit shows the name of the TMemo that is on the active tabsheet. How can you access the name property of the specific TMemo on the active TabSheet...
Thanks to all,
Using free now instead of destroy and:
for i := 0 to (PageControl1.PageCount - 1) do
PageControl1.pages[i].Caption := 'Page '+IntToStr(i);
Hi,
I have a PageControl with dynamically added tabsheets. The caption looks like: Page 1, Page 2, Page 3, etc.
It is also possible to destroy a tabsheet.This is simply done with:
PageControl1.ActivePage.Destroy;
The problem now is that the captions need to be renamed so you still see: Page...
Hi,
I am using the TDownloadUrl component to load files from the Internet. It turns out that the files are not only saved to the specified location but also to the Temporary Internet Files folder. Does anyone know if this can be avoided?
Thanks,
Raoul
Thanks Buho and Lance,
Don't understand what went wrong yesterday. I didn't change anything, but the problem of yesterday is gone.
It seems that setting the TMediaPlayer's Wait property to false doesn't work, program is still hanging during download.
Raoul
Thanks Lance, I was about to try that but...
Actually, now I can't load a file from the Internet at all:
"MMSYSTEM264: There is not enough memory available for this task. Quit one or more programs then try again"
No problems when loading a file locally. I wonder what is going wrong now...
Hi,
I am trying to load a file from the Internet into a TMediaplayer on the main form. The problem is that the program hangs till downloading is finished. How can you put this process (closing a TMediaPlayer, changing the filename, opening the TMediaplayer and loading the file) into a thread to...
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.