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 SkipVought 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. TomasDill

    Changing the font within a field on a report

    Changing font for part of the text box text? You can do this only by using the RTF and General field. Before report running, prepare the text from memo field for each record as RTF text in General field using temporary RTF file and APPEND GENERAL command. Display content of General field in the...
  2. TomasDill

    RTF :inserting text by code

    Hi! Take a look to SelStart/SelLength properties. Remember current insertion point if needed. Set the insertion point to required place using just plain characters from the Text property. Then assign text required to insert to the SelRTF property or to the SelText property depended on the type...
  3. TomasDill

    VFP6 Graph question

    Hi! You can develop a program that will create a graph programatically. MS Graph has very well developed objects model. Using it you can setup every detail of the MS Graph control, populate graph by data etc. Just explore the object model at MS site or developer's help for MS Graph when it is...
  4. TomasDill

    How to use Print... menu at run time

    Hi! As far as I know, printing here is a pure VFP design-time functionality. It has main purpose for printing the source code from the PRG text or code snippet text. I guess it is not working in run-time because this feature is not available in the run-time DLLs. You can print text manually...
  5. TomasDill

    Button in Grid

    Column2.Sparse=.F. if you want it to be displayed in all rows. Also, button should be Visible = .T., Enabled = .T. and Column2.CurrentContrl = "{ButtonName}" Buttons were not developed for grids. You can also try a checkbox in the graphical mode - it looks like a button in such case...
  6. TomasDill

    Deleted Records in Buffers

    I guess no. This is because "deleted()" mark is really a separate field in the table (physically). So when you do a tableupdate() for new record, that field is marked as in 3d or 4th state in GetFldState() for deleted(). his means inserting, and as a result, VFP will call only...
  7. TomasDill

    Deleted Records in Buffers

    Hi! It is not a good idea to delete just inserted record without the updating table. Usually when user deleter just inserted record, he/she do not want thsi record stored into the database. Change the logic of your program so when user delete some record that is just inserted, it is just...
  8. TomasDill

    How to disable mouse cursor change?

    Hi! On the page I have a link: <A href=javascript:DoSomething('parameter')>Do Something</A> When I click on the link, JavaScript function is called ok. However, when I click on it first time, mouse cursor change from the usual default cursor to the waiting arrow cursor (like page is waiting...
  9. TomasDill

    Frames controler

    Yes. Using &quot;A&quot; tag - you already seen this above. Do not know if this will work in Netscape, but try following example: <IMG SRC=MyImage.gif onclick=&quot;parent.ImageFrame.scrolldown() &quot;> Vlad Grynchyshyn, MVP vgryn@softserve.lviv.ua http://www.softservecom.com The professional...
  10. TomasDill

    problem wit frames.

    I do not have example and have no much time to create one. Just looked to MSDN help and spotted required PEMs. Vlad Grynchyshyn, MVP vgryn@softserve.lviv.ua http://www.softservecom.com The professional level of programmer could be determined by level of stupidity of his/her bugs
  11. TomasDill

    problem wit frames.

    Use scrollbar only in the bottom frame window. Catch the &quot;onscroll&quot; event in it, then use methods of second frame to scroll the second frame properly. In the second frame just do not show any scrollbars. Vlad Grynchyshyn, MVP vgryn@softserve.lviv.ua http://www.softservecom.com The...
  12. TomasDill

    Frames controler

    <a href=javascript:parent.ImageFrame.scrolldown() >Scroll horizontally</a> And put mentioned script as a part of the HTML document for ImageFrame frame. Vlad Grynchyshyn, MVP vgryn@softserve.lviv.ua http://www.softservecom.com The professional level of programmer could be determined by level of...
  13. TomasDill

    Frames controler

    Using &quot;parent&quot; you can access the farmeset window that contains your 2 frames (top and bottom). Through it you manipulate frames and access their properties, methods, objects, events etc. Vlad Grynchyshyn, MVP vgryn@softserve.lviv.ua http://www.softservecom.com The professional level...
  14. TomasDill

    Sum information into a cursor

    It is not possible in VFP. This is because when you add another table to the query, and that table will have more than one record for each record in the current query, sum will be incorrect just because values for sum will be get twise or more times for a single record, and as a result sum will...
  15. TomasDill

    Stored Procedures (or whatever) returning strings (im no fool)

    By inserting into the temporary table. INSERT command allows inserting the result data set from SP into the table. In another SP you can get the value of the OUTPUT parameter of the SP by providing a variable for it. I would recommend you to read more about the SP defniition in the help files...
  16. TomasDill

    Stored Procedures (or whatever) returning strings (im no fool)

    What about output parameters for SP? Can PHP get results from OUTPUT parameters of the SP? In addition, can PHP get results from SP in form of a table? If yse, then just &quot;SELECT convert(text, substring(@str,@last,@pos-@last))&quot; will return the string in a text (memo) field in a table...
  17. TomasDill

    How to retrieve top rows from a number of groups?

    Select [ID], max([COMMENT]) from MyTable Group By [ID] Vlad Grynchyshyn, MVP vgryn@softserve.lviv.ua http://www.softservecom.com The professional level of programmer could be determined by level of stupidity of his/her bugs
  18. TomasDill

    Frames resizing and coloring

    Hi! I have 2 vertical frames that user can resize by the gap between them. IE 5.0 2 questions: 1. Can I resize frame from the Java Script? 2. Can I change color/appearanse of the gap between frames for resizing? 3. Can I catch events for the gap between frames? I know Java Script well, so...
  19. TomasDill

    Prevent area of window from scrolling?

    Try following: *** title bar is here **** <DIV id=topiccontent STYLE=&quot;overflow-x:auto; overflow-y:scroll; WIDTH=100%; HEIGHT=80%;&quot; onresize=&quot;ResizePageContent()&quot;> *** page content here **** </DIV> Above defines the DIV area that is scrollable. This works in the IE5.0...
  20. TomasDill

    Frames controler

    Try the link first: <a href=javascript:parent.ImageFrame.scrollBy(100, 0)>Scroll horizontally</a> ImageFrame is a name/id of the frame with image. You can use &quot;parent.ImageFrame.scrollBy(100, 0)&quot; with different parameters as a value specified for such events as &quot;onclick&quot...

Part and Inventory Search

Back
Top