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 strongm 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. cibe86

    Copy image to clipboard GDIPlus-X

    Thank you guys for the replies!
  2. cibe86

    Copy image to clipboard GDIPlus-X

    Thank you mgagnon but unfortunatly I can't access ...
  3. cibe86

    Copy image to clipboard GDIPlus-X

    Hi everybody! I have a code that copy an image on my form to clipboard using gdiplus. I make something like this #Define CF_BITMAP 2 Declare Long LoadImage in User32; Long hInst, String cFilename, Integer nType, ; Integer cxDesired, Integer cyDesired, Integer fuLoad loImage...
  4. cibe86

    Cursor problem after copy to command

    Hi and thank you for your replies!! foxincloude has right, the problem is solved if I make a GO TOP after the COPY command I didn't notice the cursor was in EOF and since my cursor is only one row the GO TOP command is enough! Thank you all!
  5. cibe86

    Cursor problem after copy to command

    Hi to everyone!! I have a problem with my visual foxpro application that I can't solve... I have a cursor named mycursor which I create with CREATE CURSOR mycursor (FieldA N,...) Then I make an insert like this INSERT INTO mycursor; SELECT * FROM mycursor2 mycursor is also bounded to some...
  6. cibe86

    Input Mask Behaviour

    Ok, thank you guys!
  7. cibe86

    Input Mask Behaviour

    Thank you Mike for the response. So why when you programmatically set the value 10.129999 it shows 10.13 ? I can't use the ROUND() because the control is buonded to a cursor and in the cursor I need all the decimal digits. Thank you
  8. cibe86

    Input Mask Behaviour

    Hi, I have a text field with an input mask like this ###,###,###.## and I can't understand the behaviour in rounding values in this case. If the value of the field is, for example, 10.129899 then it shows 10.12 but if the value is 10.129999 it shows 10.13. So, in which case VFP rounds values? I...
  9. cibe86

    Select on cursor strange behaviour

    Thank you Olaf, you're absolutly right! You have to remove focus from grid, I've call setFocus on another control before launching querys and now I got expected behavoiur. I also confirm that calling grid.valid() is not enough, you need to really remove the focus from it. Thank you all! Bye...
  10. cibe86

    Select on cursor strange behaviour

    Thank you Mike! The cursor currett is created as follows CREATE CURSOR curRett (Enabled L,selected L,cd_ar c(20),descrizione C(80),cd_arlotto C(20) NULL,qtaAtt N(18,8) NULL,qtaRilev N(18,8) NULL,qtaRett N(18,8) NULL) Data are inserted into it with instruction like INSERT INTO curRett ; SELECT...
  11. cibe86

    Select on cursor strange behaviour

    Thank you very much Mike! The code that you suggested me actually works!! So I don't think that the problem is the focus. As I said if I print currett.selected I return false so the cursor already has the correct value. Maybe this new similar problem could try to found a solution. If I run (in...
  12. cibe86

    Select on cursor strange behaviour

    Hi to all, I'm a quite new programmer in VFP and I'd like to submit you a strange behaviour that I encounter using cursor. Let's say I have a cursor (populated scanning a file, so I've no dbf) that is a record source for a grid. This cursor has a field named selected, logical type. I use this...

Part and Inventory Search

Back
Top