Recent content by willjones

  1. W

    Bizarre behavior with listview StartLabelEdit and multiselecting

    Time Delayed call solved my problem I finally found a way to solve this problem. An easy way to re-create this: Populate a listview control with some values. Set label editing mode to Manual. Put MsgBox "Hello",vbOkOnly in the listview_DblClick event handler. Now put a call to...
  2. W

    Bizarre behavior with listview StartLabelEdit and multiselecting

    This is driving me crazy! I have some code that has a list of items in a listview. When I right click it shows a pop-up right click menu with a macro. Then I select an item in the list that says Rename. After ensuring a single element is selected the StartLabelEdit method is called on my...
  3. W

    Describe table problem

    TableDefs Thanks for that info... TableDefs works great for when you have the table defined or linked to in Access, but my tables aren't always guaranteed to be defined or even linked to in my Access mdb. When I attempted to use TableDefs on my external ODBC connection I got a run-time error...
  4. W

    Describe table problem

    :eek: This should be a really simple thing to do, but it isn't working. I want to determine all the column names in a table or at least all column names with a primary key. I attempted to do this OpenRecordset("desc " & tablename & ";", dbOpenSnapShot) but I get an error. (My tablename is a...
  5. W

    Lost Focus event does not fire when clicking external window

    Another Way OK, I just realized there is another way to accomplish what I was doing without the use of DoEvents. If you replace the tight loop that calls the LostFocusChecker over and over again and has DoEvents in there with a Form_Timer event that periodically calls the LostFocusChecker then...
  6. W

    Lost Focus event does not fire when clicking external window

    Found a solution OK, I finally found some solutions to this problem on my own... I thought I'd post them here for the benefit of others. I located this post that gave me some useful information/ideas: http://www.programmersheaven.com/mb/VBasic/14950/14950/readmessage.aspx (and this post...
  7. W

    Dual Checkbox columns in a listview

    Found a solution Thanks for your reply, but that wasn't really what I was looking for... However, I finally did find a solution to my problem. I thought I'd post it here in case anyone else is interested... Instead of using the built in checkbox functionality in the ListView control, I...
  8. W

    Lost Focus event does not fire when clicking external window

    It seems that when a control has focus and then I click on a window outside of Access, such as a Windows Explorer folder window or something... that the LostFocus event does not fire. I have a listView with images on it. I modified the images to look differently when selected (Highlighted) by...
  9. W

    Dual Checkbox columns in a listview

    Is there any way to have two check box columns in a listview control? Also, why is there a restriction not allowing you to center or right align the first column? Is there an alternative listview control someone may have made that might allow these kinds of things? Thanks, Will
  10. W

    Custom Icon

    I really don't want to have to include a whole separate .ico file for my custom icon to be passed around with my final mdb/mde. I know I can set a path on a local drive with CurrentDB.Properties!AppIcon, but surely there is some way I can embed a tiny little icon image inside the MDB itself and...
  11. W

    Can't find ImageList on ListView control properties

    Column header icons Thankyou... Yes, this is what I was talking about. This mdb was very helpful. This may not be possible, but I wonder if the image could appear to the right of the column header text instead of to the left... Thanks again, -Will
  12. W

    Can't find ImageList on ListView control properties

    Column headers Hmm, Okay, Actually the reason I wanted to do this was to try and populate the column headers with an image, not the actual rows. For example when you click Department once it sorts ascending, and when you click a second time it sorts descending. What if when you click it and...
  13. W

    Can't find ImageList on ListView control properties

    I have a Microsoft ListView Control 6.0 (SP4) and a Microsoft ImageList Control 6.0 (SP4). When I put the ImageList control on my form and load it with some images. Then I double click the ListView control and click on Image Lists. Non of the drop down lists display my Image List control that...
Top Bottom