I have code some Perl win gui and I want to make something like a picture that I have attached. I have a problem to make a table. Let me know how can I do that.
Check this example.
It uses MFC grid control.
Related
I have a Tkinter Entry widget and a Hungarian keyboard. When I press the ő button on the keyboard, the Entry widget displays õ. ű becomes û. (I haven't had this problem in other applications since Windows 3.1.)
Edit:
I do have two language settings on this computer and when I start changing them around, the problem disappears.
What can I do to make Tkinter handle my input correctly?
It looks like it is a problem with changes to the keyboard layout, as Tk (the library under Tkinter) on Windows doesn't do anything with the lParam in the the WM_INPUTLANGCHANGE messages. That's a bug.
There is a Tk ticket here:
Tk Ticket
Unfortunately, the issue might be TkInter only.
Would it be possible to get more details and make a test using plain Tcl/Tk ?
So, download a current tcl/tk starkit or distribution and try the script:
pack [entry .e]
and look, if the problem is present there too ?
Please report to the tk ticket, anonymous login might be required there.
Can't reproduce your problem. Works for me with Tk and tkinter as well. See the Tk ticket.
I am pretty new to MATLAB GUI. I've attempted to teach it to myself the last few weeks so I can understand and improve some code that is being developed where I work. GUI is still a fairly new concept to me.
I am wondering: I need the command window to output the mean of a set of data according to a function that is called by pressing a button on the GUI. Where would I include this code and how should I go about it?
Thanks
You can debug the code by using 'disp' or 'fprintf' functions. Notice that converts your content to compatible with the function.
The title pretty much sums it up. But, basically is it possible with Adobe applications to add event listeners to in-application items, such as a pathItem in Illustrator?
So I want something to happen when I click on a pathItem in Illustrator - or something like that. Is this possible?
I'm afraid I know the answer.
Sorry. That is not possible with scripting. Maybe with a plugin.
You can use Scriptographer, it's a scripting plugin for Illustrator with own scripting engine with keyboard and mouse events.
But this plugin works with old illustrator's version (CS5 and older).
wouldn't this work to handle the click/selection event?
AIEventAdapter.getInstance().addEventListener(AIEvent.ART_SELECTION_CHANGED,function(event) {});
If you are talking about exported PDF's or SVG's, you are able to add a link in the attributes panel and insert any javascript you like:
javascript:alert('you clicked on this line');
If you want something to happen in Illustrator, while you are using the program, then there is no way as far as I know to affect anything.
You can run scripts using keyboard shortcuts.
If you could clarify your use case I might be able to help more.
wanting to do as the title says. I have a display that I only use occasionally and I'd like to find a faster way of enabling/disabling it. Can someone point me in the right direction, or let me know of a program that can do this? I'm also looking for a way to change the default playback device. Thanks!
NirSoft have a tool that has command line support, I've not tried it on Windows 10 but it worked fine on Windows 7 when I last used it.
http://www.nirsoft.net/utils/multi_monitor_tool.html
I am sorry for asking the same questions which has been asked before. But the thing is I am not in matlab for a long and especially during trying to build a GUI I am crossing some problems which looks like complicated when l compare which C#.
Now I am using Matlab 7.12.0(R2011a) and I want to know the possibility to add tab in my GUI to make it more clear.
I am appreciate for answers which could give me an idea to figure out.
Thanks.
You can create tabs using uipanels where you toggle the visibility to reproduce the tab like behaviou, there are a few utilisties on the Matlab FEX.
To do this you need to be happy with creating GUI's using code only (no guide).
If you do want an easy interactive way of creating a GUI with tabs then I have my own commercial GUI toolbox that creates very nice tabs.