Many thanks dilettante, you gave me enough information to solve my problem without over complicating things. I have succeeded in my update with the help of this post and a couple of others from you and strongm - it turns out it wasn't so difficult after all!
This is a great community:)
Hi
I have to update my application which has previously run under XP to run on Windows 7 machines. I ran into a problem because my application stores an ini file in the application directory and .rtf output files in a sub folder of the application. I can see by some searching that this is a...
Thanks for the reply Andy & sorry for the delay - I have been away.
Yes I have done some tests and just having the folder open is enough. If it is the top level folder, i.e. the one I am trying to rename it is OK but any sub-folder will cause the problem.
Andy
Hi
I have a simple app which renames 3 files and 2 folders to switch between multiple installations of another app. To keep things simple I use the Name statement.
All is well unless the user decides to open one of the sub folders in explorer which results in my app crashing because the top...
With the richtextbox control you have good control over tabs using the seltabs and tabcount properties - no need for the api? (Provided the rtb is the only control with tabstop=true on the form)
>Actually my code was specifically designed to NOT use the Tab Key as you originally requested.
I wasn't trying to avoid using the tab key, I just want to include enter as an alternative way to change boxes. In my approach the tab key retains its default function as I don't trap it.
>I did a...
Thanks George for casting me as the short fat kid, although the tall fat middle aged man would have been closer to the truth :-)
I'm with strongm regarding the usefulness of this site. I often browse through the posts even if I haven't got a specific question and generally read the one which...
You say I am deviating from existing UI standards but I could have used MS Access to collect this data. There the enter key can be designated to do nothing, move between fields, move between records or create a ne line in the text box. Maybe the deviation is not in using the enter key to move...
Don't know if it applies directly for you but might help. I produce a complicated printout using a richtextbox control:
With fPrinter.rtbPrint 'use the rich text box
.SelText = vbCrLf: .SelText = vbCrLf 'feed two lines...
I think perfection is one thing in life something which is rarely achievable, but I think a 'good' interface is one which takes into account the target user group in applying the standards.
I would say that seeking confirmation when a user does something which has consequences which they might...
Thnaks for your input strongm
I fully agree that using the tab key would be the standard way to move between fields, but what I have here is a number of field engineers who are called in to the office to carry ou the stock take function - these are not people who constantly use a standard gui...
Solved:
Turns out it is a known bug if a msgbox is used in a valdate event. I found the answer over at http://www.xtremevbtalk.com. See microsoft KB - Q240749
Thanks for the kicking - I've learnt a lesson and that is to search more widely for my answers.
Here is a little of our product listing - it doesn't really break down into simple categories as you suggest.
766-100-560 Distributor
766-100-562 Pipes
766-100-570 Control plate bushing
766-100-583 85x70x0.5 Washer
766-100-593 Motor Pulley Acessories
766-100-598 Cover
766-100-608 Mounting head...
A little further information. When the problem occurs, ie the cursor is flashing in txtPartDesc but it acts as though it does not have the focus (even though the code in the GotFocus sub has run), the click event has not fired. If I then click anywhee on the form the click event for txtPArtDesc...
There are approx 3860 partnumbers with associated descriptions so a drop down box is not really practical. What I have is a data grid containing all the part numbers and descriptions, then as the user types the number the datagrid is filtered until only one part is left. This is needed becasue...
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.