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

Anamolies in VFP 6 - Any Solutions ???

Status
Not open for further replies.

VFP7

Programmer
Jan 17, 2001
15
IN
Hi Friends,

Thanks for the previous responses.
I have noticed some strange behaviours of VFP6. Does any of you have an explanation or a by-way to achive what I want ?
Besides I also have some queries.

STRANGE #1: In a form, which has scrollbars enabled, if I set ToolTipText in controls. The tooltip blop window do not move
(scroll) with controls. For instance if I have a TextBox at
100,100 pixels. I scrolled the form up 50 pixels. So the tool
tip should appear where TextBox is currently placed. But it
appears at preset 100,100 and not on the TextBox.
This happens with all controls.

STRANGE #2: In a ListBox, I want to have different icons for different items. Ok I get it done with THIS.Picture(n) syntax. But I have set the ItemBackColor of the ListBox to be same as the form's BackColor. The problem is that the icons are not getting transparent. And it looks very awkward to have a white background behind icon. As I have a large number of icons so it is not possible to create .MSK file for each icon. Icons may be changed at runtime as per user's deiscretion. So using a .MSK is not a solution.

QUERY #1: Is there any way to hide the scroll bars of the ListBox. I also want to show a right mark arrow after the item as happened with define popup where in we use ON BAR <n> of <popup> ACTIVATE POPUP <popup>. I tried using POPUP as RowSource in list box, it works but then I loose the object events of the ListBox. No event like InteractiveChange() generates when cursor is placed on such bars which activates other popup. Also then it is not possible to add icons before items.

QUERY #2: Is there any ActiveX available to create cool-buttons with drop-down menu.

QUERY #3: I want to define a popup from a soecified position known in pixels. DEFINE POPUP do not support pixels as FROM parameters. Is there any way. Presently I do this:

MOUSE AT <pixels>, <pixels>
=inkey(.1) &&* required to give previous command time to execute
nRow = mrow()
nCol = mcol()
define popup from nRow, nCol

But this is tedious and takes time. Is there any other simple way.

Any help is appriciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top