Re: [DUG]: Grid with variable sized rows

2003-09-24 Thread Todd Martin
Hi Samuel Why not just set the RowHeight property in the OnDrawCell event of a TStringGrid or TDrawGrid? Cheers, Todd. - Original Message - From: Allan, Samuel [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, September 19, 2003 10:35 AM Subject:

Re: [DUG]: random thread crashes

2003-09-24 Thread Dennis Chuah
Using synchronize does not negate the benefits of using a thread. It all depends on how you are using synchronize. For example, you might have a lengthy process and you want that to run in the background. When you create the thread - in suspend mode, you can pass it parameters (eg. create

Re: [DUG]: MS Security problems

2003-09-24 Thread Robert martin
Even to HKEY_current_user? I believe this provides registry settings specific to the user as opposed to the system. I know there are registry locations that can be used but the registry seems subject to too much change (by MS), so as we needed to move our registry keys anyway we decided to get

Re: [DUG]: MS Security problems

2003-09-24 Thread Robert martin
Title: Message We could do that (and may end up doing so) but we thought that we would actually follow MS recommendations to avoid problems with future windows versions. If the MS way proves to be too much hassle we probably will end up doing that. Rob MartinSoftware Engineerphone 03 377

RE: [DUG]: MS Security problems

2003-09-24 Thread Myles Penlington
Title: Message You are correct to useCSIDL_COMMON_APPDATA - however as stated in the MS Docs, the security on the folder may need to be changed at install time - guess what, you need a good installer that hasthis kind of feature. Of course by default users cannot write to the program files

RE: [DUG]: MS Security problems

2003-09-24 Thread Myles Penlington
Title: Message Whoops, got the wrong end of the stick - in the last message. Have a look at this site - It will get you started. This guy writes the security articles and books for msdn. http://www.develop.com/kbrown/security/samples.htm The sample about Interactive Window Station /

Re: [DUG]: MS Security problems

2003-09-24 Thread Robert martin
Title: Message Thanks for the info. Unfortunately we have a custom installer and an existing install base. My plan was to have our Server App (which currently has enough rights to make this change) do the security update and transfer from registry to ini. So I am a bit stuck, I will have

Re: [DUG]: random thread crashes

2003-09-24 Thread Ross Levis
Hi Dennis I think I've fixed the problem. I created private variables in the thread and used Synchronize to copy the data from the UI to these variables before doing the time consuming process. It seems to be behaving itself now. Thanks all, Ross Levis. - Original Message - From:

Re: [DUG]: MS Security problems

2003-09-24 Thread Robert martin
Title: Message Great thanks very much. There is C++ code there which may have some pointers (no pun intended) and some the other stuff about Set(Get)UserObjectSecurity should be use full. :)) Rob MartinSoftware Engineerphone 03 377 0495fax 03 377 0496 web www.chreos.com - Original

[DUG]: ImageList images

2003-09-24 Thread Phil Middlemiss
Title: Message I havea form in a DLL thathas an action list and an associated image list. When I use the actions on toolbar buttons (or anything else, I think) - the images don't appear. The DLL form has it's own TApplication even though it's loaded into the same memory space as the main app

Re: [DUG]: ImageList images

2003-09-24 Thread Dennis Chuah
Message Not sure if this will fix your problem, but there is a bug in the VCL - when toolbars are loaded in a form, in some instances, the associated image list becomes unassigned. The workaround is to reassign the image list in the FormShow - but only do it once per form. - Original Message

Re: [DUG]: ImageList images

2003-09-24 Thread Phil Middlemiss
Thanks, but that wasn't it. Phil. - Original Message - From: Dennis Chuah [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, September 25, 2003 2:43 PM Subject: Re: [DUG]: ImageList images Message Not sure if this will fix your problem, but

[DUG]: Simple filter builder

2003-09-24 Thread Mark Howard
Hi does anyone know of a simple freeware (or at least cheapware) component that allows users to define a set of filters (or sections of a SQL query) to apply to a single table and return a TDataset It would be nice if it allowed LIKE and BETWEEN in the WHERE part. Mark

Re: [DUG]: Simple filter builder

2003-09-24 Thread vss
TMS software has a really good looking one. It will be free to non commercial companies. Jeremy -Original Message- From: Mark Howard [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Date: Thu, 25 Sep 2003 16:33:56 +1200 Subject: [DUG]: Simple filter builder

Re: [DUG]: Simple filter builder

2003-09-24 Thread Mark Howard
Thanks for the link, Jeremy. It does look good but more elaborate than I need if there is a simpler less expensive one around. Mark PS I wonder... how does one qualify as a non-commercial company? On 25 Sep 2003 at 16:44, vss wrote: TMS software has a really good looking one. It will be