INTERACT FORUM
Windows => Plug-in Development => Topic started by: KingSparta on August 22, 2002, 01:02:51 pm
-
I was playing with a textbox today and noticed that backspace when the plugin is running in MJ does not work.
Any ideas how i can fix it?
Is MJ grabing my backspace?
-
It seems the delete key does not work in a plugin textbox also.
-
Dude,
Try AV's options dialog there are plenty of edit boxes in there.
But I cannot remember seeing anything like that.
Is it happening on all boxes? What about Rich Edit boxes??
Do you have any _KeyPress handlers that could be gobbling up the keys?
-
>> Do you have any _KeyPress handlers that could be gobbling
>> up the keys?
Nope Just A Plain Text Box
If you hit backspace The program backs up to the MJ tree plug-ins
it seems like MJ is grabing the key press
>> What about Rich Edit boxes??
Have not tried that yet. Is that what your using for an edit box?
-
I use both types.
But I do recall that there is a property on your main control that specifies how to handle keyboard focus.
Unfortunately I don't have VB at work here so I can't tell you what it is but if you can't find it let me know and I'll check when I get home this evening.
-
>> But I do recall that there is a property on your main
>> control that specifies how to handle keyboard focus.
I will look later (around noon), if i can't find it you might need to point it out to me since i don't have a clue right now on what i am looking for.
-
Media Jukebox may be grabbing it. Both [Backspace] and [Delete] are MJ keyboard accelearators.
I don't have a good answer or solution right now. More later...
-Matt
-
RhinoBanga
I see no option to turn on or off in properties.
-
Getting same issue here.
Private Sub Text1_KeyPress(KeyAscii As Integer)
MsgBox KeyAscii
End Sub
The ocx never gets the keypress event :(
However - if you use the new plugin I am about to upload, an ocx inside the ocx will get the keypress event.
The KeyPreview property has no effect :(
-
I'll install AV 1.03 and have a look.
-
Yup I can reproduce it here. Works ok with modal dialogs though which is where AV1 does it's input.
-
Yeah, I can repro ... Modal's are fine too.
-
Cephlen
I tryed to see if i could grab the key thru keypress like you did and mj always gets it.
seems like a major problem to me.
-
>> Yeah, I can repro ... Modal's are fine too.
Ok I give up, so how do you create a Modal form
-
It's one of the parameters when you .Show a form.
-
RhinoBanga
Ok, got it
-
hey guys, can you give my new plugin a whirl and see if it works ok..
its the web browser in the interface plugins area..
Mainly concerned about the layout of the controls on different screens.
Mail me screen caps if it isnt looking healthy please :)
-
Clicked on it ... it said it installed ... fired up MJ ... but it wasn't there :(
-
darn, i dont know how their installer works.. LOL!
-
Cephlen
i got it loaded up, no html displayed.
in the web address was "http://"
tryed to type something in ther and kept getting a message box with "119" each time i hit a key
used the home button and got it to go to http://www.musicex.com/mediajukebox/index.html
now when i load it up it is fine.
so it seems it is not getting the html on the start of the program maybe not being set in UserControl_Initialize
-
Cephlen,
I think the problem is that no registration information was entered into the registry.
VB ocx's can't self register so you have to either supply a .REG file to merge into the registry or an exe that installs and does it for you.
Or unless J River have changed their install script to automatically do this?
You may want to look at http://www.innosetup.com for a free, easy to use and nice looking installer.
-
Theres a .reg file included in the zip i uploaded. Their installer has a script that copies the stuff to the directory and then registers the .reg file.
But I guess its not working... Ill try and use that installer.
-
I didn't know that as AV uses an exe due to the controls it uses.
If you want AV's installation script for Inno then just shout.
-
>> You may want to look at http://www.innosetup.com for a free,
>> easy to use and nice looking installer
You Know this should be on a link here in this forum for developers.
Maybe some other tools