INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Back Space In A Text Box  (Read 13240 times)

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
Back Space In A Text Box
« 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?
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
RE:Back Space In A Text Box
« Reply #1 on: August 22, 2002, 03:06:22 pm »

It seems the delete key does not work in a plugin textbox also.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
RE:Back Space In A Text Box
« Reply #2 on: August 23, 2002, 01:08:49 am »

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?
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
RE:Back Space In A Text Box
« Reply #3 on: August 23, 2002, 02:28:38 am »

>> 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?
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
RE:Back Space In A Text Box
« Reply #4 on: August 23, 2002, 02:40:56 am »

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.
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
RE:Back Space In A Text Box
« Reply #5 on: August 23, 2002, 03:55:03 am »

>> 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.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41956
  • Shoes gone again!
RE:Back Space In A Text Box
« Reply #6 on: August 23, 2002, 04:35:43 am »

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
Logged
Matt Ashland, JRiver Media Center

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
RE:Back Space In A Text Box
« Reply #7 on: August 23, 2002, 08:23:36 am »

RhinoBanga

I see no option to turn on or off in properties.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

Cephlen

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 98
  • someday I will find a pic that looks good...
RE:Back Space In A Text Box
« Reply #8 on: August 23, 2002, 08:47:15 am »

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 :(
Logged
All ICQ's are ignored unless I have added you.

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
RE:Back Space In A Text Box
« Reply #9 on: August 23, 2002, 08:54:02 am »

I'll install AV 1.03 and have a look.
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
RE:Back Space In A Text Box
« Reply #10 on: August 23, 2002, 09:13:29 am »

Yup I can reproduce it here.   Works ok with modal dialogs though which is where AV1 does it's input.
Logged

Cephlen

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 98
  • someday I will find a pic that looks good...
RE:Back Space In A Text Box
« Reply #11 on: August 23, 2002, 09:22:35 am »

Yeah, I can repro ... Modal's are fine too.
Logged
All ICQ's are ignored unless I have added you.

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
RE:Back Space In A Text Box
« Reply #12 on: August 23, 2002, 09:31:39 am »

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.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
RE:Back Space In A Text Box
« Reply #13 on: August 23, 2002, 10:09:12 am »

>> Yeah, I can repro ... Modal's are fine too.
Ok I give up, so how do you create a Modal form
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
RE:Back Space In A Text Box
« Reply #14 on: August 23, 2002, 10:14:46 am »

It's one of the parameters when you .Show a form.
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
RE:Back Space In A Text Box
« Reply #15 on: August 23, 2002, 10:27:25 am »

RhinoBanga

Ok, got it
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

Cephlen

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 98
  • someday I will find a pic that looks good...
RE:Back Space In A Text Box
« Reply #16 on: August 23, 2002, 10:37:11 am »

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 :)
Logged
All ICQ's are ignored unless I have added you.

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
RE:Back Space In A Text Box
« Reply #17 on: August 23, 2002, 10:41:24 am »

Clicked on it ... it said it installed ... fired up MJ ... but it wasn't there :(
Logged

Cephlen

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 98
  • someday I will find a pic that looks good...
RE:Back Space In A Text Box
« Reply #18 on: August 23, 2002, 10:53:49 am »

darn, i dont know how their installer works.. LOL!
Logged
All ICQ's are ignored unless I have added you.

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
RE:Back Space In A Text Box
« Reply #19 on: August 23, 2002, 10:54:13 am »

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
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
RE:Back Space In A Text Box
« Reply #20 on: August 23, 2002, 11:07:25 am »

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.
Logged

Cephlen

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 98
  • someday I will find a pic that looks good...
RE:Back Space In A Text Box
« Reply #21 on: August 23, 2002, 11:09:43 am »

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.
Logged
All ICQ's are ignored unless I have added you.

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
RE:Back Space In A Text Box
« Reply #22 on: August 23, 2002, 11:11:36 am »

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.
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
RE:Back Space In A Text Box
« Reply #23 on: August 23, 2002, 03:11:28 pm »

>> 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
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA
Pages: [1]   Go Up