Jump to content

dixonpete

Active Members
  • Posts

    27
  • Joined

  • Last visited

dixonpete's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Getting there. Some new ideas in there for me and enough I think to get the task done when I get back to it next week. Appreciate the help.
  2. Ah, ok. For some reason I didn't consider that input text boxes could be included in polling ( and validated) like any other GUI object.
  3. Thanks, but doesn't your example still rely on a separate button being pushed? I could do that but it seems more intuitive in my application to have the validation done as the user presses ENTER to leave the field, getting feedback as they go. That would require field level validation and I'm not seeing that in the docs.
  4. I'm looking to check the results after leaving the field and immediately put up a MsgBox asking for a decision to be made. I.e., a database with that name already exists, do you want to overwrite it or merge into it. Didn't have much luck finding 'RestrictControlRegExp' in the Help.
  5. I'm using GUICtrlCreateInput to create an input field that I need to validate after the person has typed something into the field. Is this possible? I don't seem to see any options for that in the Help file.
  6. A much more useful reply, tx. As an aside and as a mild defense I've used discussion boards for 20 years+ and have never seen one before that felt the need to have two methods of posting. I still don't see much point to that and never would have thought to look for it. Anyway, I got my answer. Nuff said.
  7. I figured you were trolling. Tx for confirming it.
  8. Hard to do when I don't even know what you are referring to.
  9. I found it. The checkbox definition was using a width, a pattern the other controls had and I had simply copied over. It was invisible but when moused over interfered with the other controls. Problem solved. Sorry for the false alarm. Thought it might be an AutoIT bug of some kind.
  10. Missing screen shot added. Controls appear and disappear as they get moused over. This is a Windows 7 install.
  11. I'm getting some screen noise when I mouse over controls in my GUI. What's this all about and is there a cure?
  12. I was looking for the same thing and eval does work as a good replacement for FoxPro-style macro substitution.
  13. A belated thx!!
  14. I'm trying to display the output of a query to the user by placing the results in an Edit box. The following code actually works fine but the two For/Next loops that I'm using to format the data is awfully slow - over 3 minutes for 20,000 records. Running the query and updating the GUI element are pretty quick. Is there a more efficient way? I'm just trying to make the columns line up properly in the final output. I'm already formatting the Edit box as Courier. .... $aOk = _EzMySql_GetTable2d("SELECT `DOCID`, `NAME`, `BILLS`, `PROVIDER`, `DOCTOR_ABBREVIATION`, `ADDRESS1`, `ADDRESS2`,`CITY` FROM CONCODE ORDER BY 3 DESC,2 ") local $result = "" local $i, $j local $NumCols = ubound( $aOk) -1 local $NumRows = ubound( $aOk,2 ) -1 For $i = 0 To $NumCols Step 1 For $j = 0 To $NumRows Step 1 $result = $result & StringLeft( $aOk[$i][$j] & " ", 18) Next $result = $result & @CRLF Next ; $result gets GUICtrlSetData into an EditBox
  15. If I decide I can live with a Not Responding message ( after all for my app the queries do have to run sequentially anyway) will all be well in the end? By this I mean AutoIt won't stop or give up or anything right?
×
×
  • Create New...