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 TouchToneTommy 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 tristero

  1. tristero

    basic grid issue...

    i have a grid with the recordsource/columnsource set to an alias. however i want to change the table for this grid so i have the user select which table using an optiongroup which has a click event that closes the current table and opens a different table with the same alias. i can't get this...
  2. tristero

    CONTENTEDITABLE problem with <p> tags

    thanks Dan! that's what i was looking for. i just couldn't figure out which style properties to change. Dan Trenz Ann Arbor, MI
  3. tristero

    CONTENTEDITABLE problem with <p> tags

    I've written a javascript html editor but i'm having problems... I'm using a <div> tag with contenteditable="true" as the main editor window. the only problem is when i type in it it uses <P> tags for each new line. this is causing a bouble-spacing effect. how do i keep this from happening...
  4. tristero

    Precision problem with PHP/MySql...

    thank you! if anyone wants an easy currency formatting function... i just added this so i could just do Money($amount) to any currency floats.. function Money($float) { return sprintf("%01.2f", $float); } Dan Trenz Ann Arbor, MI
  5. tristero

    Precision problem with PHP/MySql...

    that should read: when i pull that value into a php page, the "0" is lopped off, and i just get "1.8" Dan Trenz Ann Arbor, MI
  6. tristero

    Precision problem with PHP/MySql...

    i have a table with a field (float) with the value "1.80" in it. when i pull that value into a php page, the "0" is lopped off, and i just get "1.80" how do I get the entire "1.80" to show (without changing the field to varchar)? thanks Dan Trenz Ann Arbor, MI
  7. tristero

    UGH! trying to make a rollover submit button w/o images...

    yay! thanks so much. I swear i tried that... oh well. thanks! Dan Trenz Ann Arbor, MI
  8. tristero

    UGH! trying to make a rollover submit button w/o images...

    i can't get this to work, and i cant see why... please help. <head> <style> .mybutton {background-color: white} </style> </head> <body> <INPUT type=button class=mybutton value="Click Me" OnMouseOver="this.style.background-color='red'" onMouseOut="this.style.background-color='white'">...
  9. tristero

    FoxPro app compiled as .exe freezing up! help!

    i think i fixed it. DO WHILE !ISALPHA(m.line) AND !(LEFT(m.line,1)=="") m.line= SUBSTR(m.line,2) ENDDO not the prettiest code, but it seems to be working... thanks rick Dan Trenz Ann Arbor, MI
  10. tristero

    FoxPro app compiled as .exe freezing up! help!

    right, would this fix it? cTrk = thisform.edit1.value cTrkFinal = "" FOR i = 1 TO MEMLINES(cTrk) m.line = ALLTRIM(MLINE(cTrk, i)) DO WHILE !ISALPHA(m.line) AND !EMPTY(m.line) m.line= SUBSTR(m.line,2) ENDDO cTrkFinal = cTrkFinal+m.line+CHR(13) ENDFOR thisform.edit1.value = cTrkFinal...
  11. tristero

    FoxPro app compiled as .exe freezing up! help!

    i have a project built as an *.exe this project is essentially 1 main form. every once in a while i try pressing one of the buttons to make it do something and it freezes (goes to an hourglass, when it shouldn't). it says it is running in the task manager but it never stops. at first i...
  12. tristero

    another easy form question re:labels

    wow, i am really dumb today. i can't believed i didn't even see a word wrap property... thanks stella. Dan Trenz Ann Arbor, MI
  13. tristero

    another easy form question re:labels

    can you have multi-lined labels? i can't get a label to "word wrap" text Dan Trenz Ann Arbor, MI
  14. tristero

    simple form question: which property for resizable?

    aha! thanks, i knew i had used it before, i couldn't remember for the life of me. wierd, i think it would be much more intuitive if it was simply thisform.sizable = .F. but oh well. thank a lot. Dan Trenz Ann Arbor, MI
  15. tristero

    simple form question: which property for resizable?

    Which property determines whether or not the user can resize the form? like grid.resizable = .F. but for the entire form window. Dan Trenz Ann Arbor, MI

Part and Inventory Search

Back
Top