Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. aprobe

    DateTimePicker control not returning correct value when tabbing off th

    I've added a LostFocus Event to the DateTimePicker and checked the value there and it is now working correctly. Why it works there and not on the Validated event I cannot understand!
  2. aprobe

    DateTimePicker control not returning correct value when tabbing off th

    I'm using VS2008 and have an unbound DateTimePicker control on a windows form. It's working correctly if I select a date from the calendar and then press tab to exit. I have a "Validated" event and the Text property (and value property) show the value as displayed. However, If I go back and...
  3. aprobe

    User unable to delete row in DataGridView

    After many hours of searching have found the cause of the problem. When you have the 'EditMode' property of the DataGridView set to 'EditOnEnter' you cannot delete the row even if you select the entire row on the row header and press the delete key. I have reset it to 'EditOnKeystroke' or...
  4. aprobe

    User unable to delete row in DataGridView

    I have an unbound DataGridView. Previously I was able to select the row header and press the Delete key to delete the row. This no longer works. I don't know when it stopped working. I have 'AllowUserToDeleteRows' set to True. The entire row is selected and pressing the Delete key erases...
  5. aprobe

    Adding a tabpage to tabcontrol turns on UseVisualStyleBackColor

    Whenever I add a new TabPage to a TabControl the property UseVisualStyleBackColor is set to true on all the other TabPages on the TabControl. This causes all my background colors to disappear and I have to manually go into each TabPage and set the property back to False. Does anyone know why...
  6. aprobe

    C# With block?

    As mentioned by earthandfire previously, Delphi makes use of 'With' statements. However, there is one very big disadvantage when using this in Delphi and that is with debugging. When you hit a breakpoint you cannot simply hovver over the variable using the mouse to show the current values as...
  7. aprobe

    Databinding and tabsheets

    If items such as textboxes or labels are placed on tabsheets on a windows form and you programatically change a value on a tabsheet which is not visible (or not previously been shown), when you save the record the change is never updated. If the user selects the tabsheet prior to saving the...
  8. aprobe

    How can I change the font color on a disabled textbox

    Many thanks for your help on this. I'll print this off for future use. [thumbsup2]
  9. aprobe

    How can I change the font color on a disabled textbox

    Great, It does what I want. I never thought of setting ReadOnly, I've always tended to use Enable/Disable. I still would be interested to know how to change the ForeColor of disabled items.
  10. aprobe

    How can I change the font color on a disabled textbox

    I have disabled text boxes which are greyed out and I have no control of the font color. I can do something like c.ForeColor = Color.Red; which works fine with enabled textboxes but is totally ignored on disabled boxes which remain a messy murky grey. Thanks
  11. aprobe

    When do bound controls on a form occur?

    This has not resolved the problem. Having spent many hours searching I found similar reported problems and it was also reported as a known MS bug. Having pulled what little hair I have left out I kept trying different things. Finally I have resolved it. When the record position has...
  12. aprobe

    When do bound controls on a form occur?

    I have a form with multiple tabsheets on it. When the user is updating an existing record I am trying to perform certain validation dependant upon the checked state of a checkbox on one of the tabs. The checkbox is bound to a dataset but the checked state of that check box is ONLY set when the...
  13. aprobe

    How do you reset a bound combo box value to null?

    Great thanks for that. It's given me some good ideas!
  14. aprobe

    How do you reset a bound combo box value to null?

    It works if I update the column on the current row of the dataset directly to DBNull.Value. Messy but it works. Thanks for that.
  15. aprobe

    How do you reset a bound combo box value to null?

    I'm using .Net 1.1 and Sql Server database. I have a situtation where a combo box is bound to a dataset and will quite happily update the column when the user changes the value. The default value for the field is null. In this case the field is a Country ID code and has a foreign key on a...
  16. aprobe

    Hot keys are not visible until the Alt key is pressed

    The 'Hot' key shortcuts on all menus and buttons do not appear until after I press the ALT key. I may have a text property of E&xit on a menu or button. It shows as Exit, but the 'x' is not underscored until after I press the ALT key. This seems to be a very basic requirement. I'm sure there...
  17. aprobe

    Remote Desktop times out after minimizing

    The problem has been resolved. I don't know exactly what was done to fix this but the administrator has altered proxy settings on the server. It was also ascertained that this only occurred for remote users that access the server through SmartPass.
  18. aprobe

    Remote Desktop times out after minimizing

    Most of our staff with laptops work in remote offices, however in my case I work from home anyway so that point is covered.
  19. aprobe

    Remote Desktop times out after minimizing

    I am trying to locate a problem we have on our site with Remote Desktop disconnecting. Many of our users have reported this problem, I can only talk about it from my own experience. Basically, we have tracked it down to minimizing Remote Desktop (either manually or by Windows + D to show the...
  20. aprobe

    Determining which button was pressed ?

    Whilst I might agree with you for a web application I don't think this is very professional for a normal windows app. For example I might be completing an order form, entering the customer account number at the beginning. The user would expect to see the account details like the address etc...

Part and Inventory Search

Back
Top