Questions tagged [handles]

175 questions
0
votes
1 answer

MATLAB - working with function handles rather than slow symbolic expressions

the problem I am experience is one that I haven't been able to overcome. The actual code that I am running is a bit too complicated, and so I will just reproduce the problem here in simpler terms. >> syms x >> T_m = [[exp(x), x^2];[x,sin(x)]]; >>…
RRR
  • 69
  • 6
0
votes
1 answer

How to change output text in datacursor mode for a plot with double y-axis with single x-axis

I have the following code: datee = {'23-10-201511:36:24', '23-10-201511:37:24', '23-10-201511:38:24', '23-10-201511:39:24', '23-10-201511:40:24', '23-10-201511:41:24', '23-10-201511:42:24', '23-10-201511:43:24', '23-10-201511:44:24',…
sushma
  • 5
  • 4
0
votes
1 answer

Get specific elements of a website displayed in firefox

I use a screenshot tool like SnagIt and this tool is able to make a screenshot of a specific element inside a website. I tried this feature with firefox, safari and ie, all runs fine. When I use the mouse pointer to aim an element, SnagIt shows a…
Mark
  • 1
0
votes
2 answers

Button Handles after creating buttons in code

I have previously created buttons in my code, as shown: Dim Itm As New Button Itm.Name = "Itm" & i Itm.Height = 62 Itm.Width = 159 Itm.Text = Temp(i, 0).ToUpper Itm.Left = (F * 165) Itm.Visible = True Itm.BackColor = Colour Itm.ForeColor =…
James.Net
  • 11
  • 1
0
votes
1 answer

Need to press button twice to update variable in MATLAB GUI

I have the following code as part of my MATLAB GUI code: k = waitforbuttonpress; if k==0 if strcmp(get(handles.YESNO,'String'),'Y') hint = 1; else hint = 0; end else hint = 0; end I…
Dhiraj
  • 13
  • 2
0
votes
0 answers

How to get the name of a sub by it's handles in VB.Net

I want to find the a the name of a specific sub that I only know it's handles. example: Function GetSub(Handle As EventHandler) As Object 'Help!!! End Function Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click …
0
votes
1 answer

C++ multiple actions at once

I'm making a program and I have a lot of labels that when you click on them they do the same thing and instead of writing them around 40 times is there a way to reduce it private: System::Void lblHB15_Click(System::Object^ sender, …
0
votes
1 answer

MATLAB: How to pass data between 2 GUIs using the findobj-Function?

i am new to creating GUIs with Matlab. I have one MainGui from which i open a Subgui so that the user can click checkboxes. After clicking the okay-Button my Subgui closes and one sees the MainGui-surface again. How can i access the clickbutton…
john
  • 131
  • 2
  • 9
0
votes
2 answers

GDI handles with icons . l

i have a winforms application. i have a user control with a lot of icons. the user can load this control on a form many times (in a tabbed layout). right now i am loading the icons each time the control is created (could be up to 50 times in teh…
leora
  • 188,729
  • 360
  • 878
  • 1,366
0
votes
0 answers

How to pass handles into certain GUI callbacks Matlab

I'm writing a matlab program and I'm trying to pass around my handles struct to ALL my callbacks. The only problem is that I'm using GUIDE and I can't pass in handles as an argument to a function I created: %The proper slider callback: Deleted the…
sam
  • 17
  • 7
0
votes
1 answer

MATLAB: Passing data between two GUI's

I have two GUI's with the figure-tags mainWindow and annotatorWindow. I want to pass data between the two windows. When I copy the data from mainWindow to annotatorWindow (see copyData_Callback), it works perfectly. But when I want to write the data…
DeeWBee
  • 695
  • 4
  • 13
  • 38
0
votes
1 answer

Handles and pointer to object

I have a python Interpreter written in C++, the PyRun_String function from the Python API is said to return a handle, however in my code I have it assigned to pointer to a PyObject? PyObject* presult = PyRun_String(code, parse_mode, dict, dict);…
Tony The Lion
  • 61,704
  • 67
  • 242
  • 415
0
votes
2 answers

Jquery UI slider values in handles not showing up?

I'm trying to put time values in the slider handles of this jquery-ui slider and can't figure out why the values aren't printing inside the label / handles. Below is a fiddle: http://jsfiddle.net/kirkbross/194d00fm/ $("#time_range").slider();
Kirk Ross
  • 6,413
  • 13
  • 61
  • 104
0
votes
0 answers

matlab listbox empty handles

I am currently programming a guided user interface (GUI) in matlab which comprises a drop down menu. When a certain element of the drop down menu is selected a second GUI is opened which contains a listbox. This listbox should now display data…
0
votes
2 answers

BytesAvailableFcn callback not receiving updated handles

I created an interface which automatically reads in data through the serial port, hence the reason I implemented the BytesAvailableFcn Callback handles.fileID.BytesAvailableFcnMode = 'terminator'; handles.fileID.BytesAvailableFcn =…