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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Pleco

  1. Pleco

    Randomising with no repeats?

    Ah I see, I was just missing that line of code. I didn't mean to include the GroupBox Tag reference before, it just got caught up in the paste. That's so I can generate a random letter across the labels in sequence as the button is clicked rather than give all the labels random letters...
  2. Pleco

    Randomising with no repeats?

    I can't seem to get it to function. The button will continue to be enabled no matter how many times I click. I tried breakpoint and it indicates the correct value (if I used it correctly, that is). I set up an extra application to test it out, to ensure there was no conflict with the other code...
  3. Pleco

    Randomising with no repeats?

    Okay I'm rethinking a few things here. But typically something else has cropped up. Surely I can use the Tag property to record how many times a button has been clicked, right? I want to be able to click a button five times, after which it disables. This is what I'm trying but it won't work...
  4. Pleco

    Randomising with no repeats?

    I assume you mean Randseed or RandomRange? How might I implement that? Sorry I'm not all that experienced. This is what I'm using to generate a random letter: var letter: array [0..5] of string; currentletter: integer; begin letter[0] := 'A'; letter[1] := 'E'; letter[2] := 'I'; letter[3] :=...
  5. Pleco

    Randomising with no repeats?

    Okay, without necessarily wanting to shoot all my problems here, solving this should put me on track for the rest of this application. [wink] I have a button that places one random letter in turn across a series of labels. At present I'm randomising the letters from an array using the...
  6. Pleco

    Label, from one GroupBox to another

    Yeah I guess it may seem a little odd. It's more for usability. There's actually one groupbox containing several labels that can be dragged into a series of other groupboxes.
  7. Pleco

    Label, from one GroupBox to another

    Thanks for the help. Much appreciated.[thumbsup2]
  8. Pleco

    Label, from one GroupBox to another

    Bang on. That method worked in getting the label back in there. Thanks. [thumbsup2] But I don't suppose you know how would I go about placing the label back in the exact same co-ordinates in the original GroupBox?
  9. Pleco

    Label, from one GroupBox to another

    Hi I'm having trouble placing a label into a groupbox at runtime. I'll try to explain this the best I can. I have a groupbox1 with a label inside it, I drag this label into groupbox2. Now I can perform this drag/drop process fine but where I'm having trouble is I want a button that when...

Part and Inventory Search

Back
Top