Select all not working in ExtJS textfield - extjs4

I'm working on a large single page app that uses ExtJS 4. One very annoying issue that pervades the app is that when a user tries to trigger a select all within a textfield (or other text input box), nothing happens.
This can be done either by hitting Cmd-A or by clicking Edit > Select All within the browser.
I'm not sure how to go about debugging this. It might not even be ExtJS's fault.. Maybe it is some CSS that is preventing this from working or something else. Any help would be greatly appreciated.
Just so everyone know's what I mean when I say textfield, they look like this:
Thanks!

Related

How to conditionally render an input accessory view?

I am trying to conditionally render an input bar that appears above the keyboard when the user is tying. I do not want to show this input bar unless the user wants to add something. So they tap a button which is supposed to make the component visible and then focus on the input which brings up the keyboard.
This works as expected except when the user first opens the keyboard. Nothing appears. There is an empty view tag as the keyboard comes up but then it disappears and there is nothing. However, once the user starts typing it appears and after that works as expected. I have no idea why it isn’t appearing. If I don’t type anything and dismiss the keyboard you can see it briefly before it goes away as it is supposed to.
I have tried calling the function with async-await and my current syntax. Neither is working and I have been unable to solve this.
Here is a snack that recreates the issue and contains all the relevant code to reproduce the error.
https://snack.expo.io/#dmargulies/inputaccessoryview-problem
Thank you for your help.
First of all InputAccessoryView exists only on IOS.
I changed conditional rendering flow.
Look at: https://snack.expo.io/#djalik/inputaccessoryview-problem
For anyone looking for a cross-platform solution, there is a package:
react-native-keyboard-accessory
Note: I'm not the author, just figured it might help some peeps.

Form designer only shows the form in vb.net

I was working at the forms designer and yesterday the designer literally only showed the form. Tried copying the .designer.vb to another new form and the same thing happened. Also when built it just shows what the designer shows. Compare the two versions:
(Had to use pastebin as the code is too long for a post, and it rejects my post if more than two links are used.)
Current code: pastebin.com/SsgR7YWD
Current form view:
Previous code: pastebin.com/bXCL3jhH
Previous screenshot:
Why it is not showing the controls? I know it is a long piece of designer code but I can't find where the error comes from.
I've just run your code through this site that compares to blocks of text and shows the differences - there's a lot - you might want to do the same and have a look at the differences. It may be easier to delete the form and start again to be honest. Having said that, you might be able to spot what went wrong
You should just delete the form and start again. A few tips to having a better UI ---
Use layout grids for the button-checkboxes and let the buttons occupy the whole horizontal space.
And remember to backup your code often so that things like this won't happen again - use something like GitHub and commit your files whenever your day is finished.
Happy coding!

Visual Studio Express 2015. Changes in form does not apply on debug

I just had a really weird thing happening on the application I'm developing.
Everything was doing well until, suddenly, I can't do any change on my form.
If I modify something in my form, a button text for example, it appears with the new name in the designer but if I start the application it runs with the previous version of the text in the button. I tried modifying a lot of things, position, text, color, really messing up my design but when I start it I don't see any change... I even tried to change things from the code (change button text on form load) but still no change... I try shutting down and restart the PC, no better luck...
I probably have touched something somewhere that cause this problem but I do not know what and this turns me nuts...
Other apps I made before are still running perfectly and running with new content if I edit their design form.
Any ideas ?
Thanks a lot.
Vince

VB.NET Putting the menu into controlbar like Firefox

The new Firefox versions do not have the regular menus anymore.
Instead the menu can be reached by clicking the orange button which is somehow integrated into the form's controlbar. This saves some space on the client area.
I would like to do the same with VB.NET and WinForms.
Could anybody please tell me
a) what this is called? I did not find any information on this on Google, perhaps because I just didn't find the right term.
b) Perhaps a starting point on how to do this?
Thank you very much.

How to fix a non responding ext.list?

I've got a problem with an Ext.List:
You press a button on the main menu and are shown the list. Everything on it works fine and it let's you choose, where to go deeper inside the app. No problems so far.
But if you then go back to the main menu by pressing a "back"-button and reenter the page, that shows this Ext.List, it doesn't work anymore: you can't select an entry of the list.
The "back"-button removes the list, if you return to the main menu this way:
setTimeout(function(){page.removeAll();},100);
What's my mistake? Do you know a better method than "page.removeAll()" that really kills this Ext.List to let it then be completely recreated when I choose to see it in my main menu?
Thanks in advance, you guys have the best tips and tricks.
It's hard to tell without seeing your code but I suspect that there is a javascript error somewhere in the program flow that you described. If you display the javascript console in either Chrome or Firefox it should show the error.
Depending upon how the function that creates the list is defined it would normally recreate the list upon page/function entry and there should be no need to 'kill' the list explicitly.