Search results for query: *

  1. K

    Drag and Drop Cursor Width Limit?

    Good suggestion. I've got this working in another part of the program. I just noticed that THAT text is even wider, but doesn't have the issue. There's got to be a difference. Once I discover the difference, I'll post back so others can learn from my stupidity! :) Thanks, JohnH.
  2. K

    Drag and Drop Cursor Width Limit?

    I'm having an issue with the size of the drag and drop 'text cursor' on my application. The code is very similar to this reference Microsoft Visual C#: Listboxes - drag drop & reorder ,Microsoft Visual C#. - msdn.itags.org Looking at the drawcursor sub, Sub drawcursor(ByVal text As String...
  3. K

    Question Toolstrip Textbox labels?

    Ok...found the answer. Thanks for the feedback. It led me in the right direction. The code I modified was from here. Public Class ToolStripTextBoxWithLabel Inherits ToolStripControlHost Public Sub New(Optional ByVal lblText As String = "label") MyBase.New(New...
  4. K

    Question Toolstrip Textbox labels?

    Sorry...wrong terminology on my part. Is there a way to do this within a MenuStrip? I don't see the option of adding a label. I'd like to have a menu item with a label followed by a textbox (on the same line). Thanks.
  5. K

    Question Toolstrip Textbox labels?

    Is it possible to have a label precede a toolstriptextbox? If so...how?
  6. K

    "Pre edit" treeview

    Exactly what I needed. Thanks!
  7. K

    "Pre edit" treeview

    Ok...I didn't explain myself very well (...and I couldn't find the MsgHook reference that I was looking for before) JohnH - the code you're proposing conditionally allows the user to edit the node text based on the text's content ("sBK01" in this case). This isn't what I'm after. If the text...
  8. K

    "Pre edit" treeview

    I have an application where I'm allowing a user to edit the text of a treeview. If the text of node is 'sBK01 (1732DS-IB8 (8 In))' I'd like the text in the "editable" state to start as 'sBK01'. I've found a couple of references on how to do this with MsgHook, but I can't seem to find...
  9. K

    "Locking" characters when the user edits a treeview node's text

    Since this post has had several looks and no solution.... One thought that comes to mind is the following: Instead of allowing the user to edit the actual tree view node's text, display two textboxes on top of the treeview node's text. The first would have the "protected" text in it ("BK" from...
  10. K

    "Locking" characters when the user edits a treeview node's text

    I have an application where I'm allowing the user to edit the text of a treeview node. Is it possible to "lock" portions of the node's text to keep it from being edited? For instance, if the text is "BK01" originally, can I keep the user from editing the "BK" prefix? I currently validate the...
  11. K

    Keypress capture when multicell selected within DataGridView

    Thanks for the help, JohnH. Not sure why it was having issues before, but your code worked fine. I did change the .KeyUp to .KeyDown to make it operate the same way that Excel does. Again, thanks!
  12. K

    Keypress capture when multicell selected within DataGridView

    I'm sure this is simple, but I can't seem to find a reference for this specific situation. I'm using a datagridview that I'd like to have the user be able to select multiple cells within a row and then allow them to press <Delete> to delete the values within the cells. I can't seem to capture...
  13. K

    Using Binary Serialization on XCData (or a Deep Copy Issue...)

    JohnH - Converting the datatypes to string worked great. Thanks for all of your help! -KW
  14. K

    Using Binary Serialization on XCData (or a Deep Copy Issue...)

    I could if there isn't another way. I was kind of hoping for a "you just do X, Y, and Z" and that would solve the problem. Sounds like it isn't possible for that datatype. The reason for using XCData (and XElement and XAttribute [not shown]) is that the data is originally populated with XML...
  15. K

    Using Binary Serialization on XCData (or a Deep Copy Issue...)

    Some background: I'm creating an application that uses several "multi-leveled" structures (structures within structures within structures....) to store reference data. <Serializable()> Public Structure ControllerType Public Attributes As ControllerAttributeType Public...
  16. K

    Variable Aliasing?

    Thanks for the quick reply, JohnH. As soon as I saw your reply, it all was obvious! Another alternative for the Structure objects to at least make the code look a little cleaner would have been the With / End With. Thanks, again.
  17. K

    Variable Aliasing?

    It is possible to alias variables in VB.NET? Let me give you an example. s = std_GCCS.Modules(NodeNum).Communications.ConfigTag.Data s.Format = "test data" s.xStructure.DataType = "test data" s.xStructure.ArrayMember.Name = "test data" Now to get the data back into...
  18. K

    Question DataGridView MouseUp Event

    I am truly an idiot. I guess the reason that I couldn't find a reference to the problem anywhere is because no one else forgot that little gem of information. Thanks!
  19. K

    Question DataGridView MouseUp Event

    Hopefully a dumb question, but I can't find a reference to it (or even acknowledgment anywhere online that it is an issue)... I'm trapping the MouseUp event on a DataGridView. It works great as long as I click on an "unused" portion of the DGV. If I click on a cell, the event does not...
  20. K

    Ellipse button control on DataGridView

    As a continuation to this post... http://www.vbdotnetforums.com/winforms-grids/33755-datagridview-cell-location-problem.html [...and thank you for your assistance!] I'm trying to use implement an ellipse button within a DataGridView to trigger a more detailed popup menu. This would be similar...
Back
Top