Questions tagged [controls]
Use this tag for programming scenarios related to controls (interactive elements of the user interface).
controls
8,449
questions
0
votes
0
answers
7
views
Custom controls disappear after entering Fullscreen on react video
So I tried adding a skip button to my video container in react, it works however for some reason it dissapears in fullscreen?
return (
<div className="video-section">
<div
...
0
votes
0
answers
22
views
Dependent attribute value changes are invalid
I have a CustomControl SearchDefalut
There's an IsShowPopup to display Popuo,
Property
public bool IsShowPopup
{
get { return (bool)GetValue(IsShowPopupProperty); }
...
0
votes
1
answer
37
views
Having Issue with AjaxCalendarExtenderControl.Add in ASP.NET
Having Issue with AjaxCalendarExtenderControl.Add in ASP.NET
The following code:
Private Sub AddCalendarExtender()
AddControlToCollection(AjaxCalendarExtenderControl.Add("Calendar" & ...
-1
votes
0
answers
15
views
Model Reference Adaptive Control - set the parameters
I need to write a control loop for my system
This is the equation of motion of the system (inverted pendulum on top of a cart):
-Ml∙ddθ+g(M+m)θ-ml*θ*(dθ)^2=u
This is the structure of the controller I ...
0
votes
0
answers
10
views
How to print only specified controls from a column, in a Python3 script using Flet?
In a Python3-Flet script I have a Column, with various controls (Dropdown, Textfields, Button) and I need to print only TextFields's values.
This is my script:
from flet import *
def main(page:Page):
...
1
vote
1
answer
76
views
Event detection problems after using context menu in JavaFX (Linux)
I've encountered strange behavior of JavaFX application running on linux.
Application is a simple graphic editor. Its main area represented by ScrollPane with two scrollbars, and scroll pane's content ...
0
votes
1
answer
36
views
Dymos/OpenMDAO phase linkage solution reading error
I am running and investigating the Dymos/OpenMDAO example provided here:
SSTO Earth Launch
It runs fine, with different boundary conditions and parameters.
My goal is to make the trajectory in two ...
0
votes
1
answer
62
views
How can I create, duplicate, or copy paste a whole Border control as it is with all of its controls inside it
first of all, I just want to note that I might be not good at english, and i'm sorry about this.
**Issue: **
I'm for now learning .net Maui and i want to learn how can i do this:
i want to make a ...
0
votes
0
answers
21
views
FullCalendar's SOC Report for IT Security
Looking for a Service Organization Controls (SOC) report to verify that the FullCalendar developers and the tool itself adhere to best practices for protecting client data.
I have looked through the ...
0
votes
0
answers
26
views
How do I use the BLE on my phone to connect to my Segway gen 3 iot device to unlock my scooter
I can't connect to or send unlock or any commands to my Segway gen 3 iot device I can't use or control my scooter without making this stupid thing work or unlock please help
Ive tried using almost ...
1
vote
1
answer
52
views
Creating a sketch where part of it could be moved at runtime using the arrow keys
I have a very old software for which the source code is not available and I am not even sure what language was used to develop it. I am trying to replicate it using windows forms (C#).
I have stumbled ...
1
vote
1
answer
48
views
Godot 4.3 — How can I ensure correct Control position in _ready?
I have a program which uses a TextureRect for a mouse cursor, and a home-rolled focus system. It works fine, but in _ready I set the global_position of the mouse to the focused control, and a problem ...
0
votes
1
answer
47
views
VBA - Wanted: Getting UserForm Object giving its name
is it possible to have a function getting given a string indicating an Object's name then returning corresponding UserForm Object as a result?
Function foo(name as string) as Object
dim Obj as ...
0
votes
0
answers
60
views
Winforms group box missing Click event
I have a WinForms C# project targeting .Net Framework 4.7.2 with a form which includes a group box. There is no Click event for this control visible from VS2022 when showing control properties via ...
0
votes
0
answers
18
views
control systems optimization multiple factors
I am working on a regulation for a vehicle. I have the following formula for the signal processing of the signals that go into the controller:
heightDiff = k1*A + k2*B + k3*C
I can vary the pre-...
0
votes
0
answers
20
views
iSH on iPad stops with a hollow rectangle cursor
Using iSH on the IPad Pro M2 is fun, until the cursor turns to a hollow rectangle and I cannot type anything. The iSH simple controls disappear too. Something to do with my thumb touching the trackpad?...
0
votes
1
answer
27
views
How do you prevent a custom control from zooming or clicking on the map
I've created a custom control under the zoom control, and when I click on it, the click on the map is triggered, which I don't want, and the same applies if I double-click, the zoom is triggered.
I've ...
0
votes
0
answers
24
views
How can I use a String Variable to refer to and access properties for a chart control
I have a need to access a charts properties in a module that processes custom labels for 5 different charts using the same routine/module for each chart. The module I created works for the 1st chart ...
0
votes
0
answers
23
views
Plugin Leaflet-Search and Fetch call to GeoJson in Geoserver
I am connecting to a wfs service from my geoserver through the Fetch method in my code and it works correctly.
But I want to add this plugin by Stefano Cudini https://github.com/stefanocudini/leaflet-...
2
votes
1
answer
87
views
How to Dynamically Control a Variable to Maximize Another Variable in Dymola
I've been using Dymola for a while, but this is my first time working with controllers. I have a complex model of a thermal plant, and I need to control some variables. So far, I have successfully ...
0
votes
0
answers
5
views
ASP Web Forms Telerik Combobox Multiselect Filtering - Highlighted text is not clickable
I have a Telerik:ComboBox with CheckBoxes set to true, and filtering set to Contains.
When if i have 4 items called "Anne" "Anders" "Steven" and "Richard", and ...
0
votes
0
answers
27
views
Remove extra symbol on a Latex document
What is the error of \tableofcontents and on the pdf print extra .,, symbol.
I try to remove the extra symbol .,, on the pdf but I do not put any extra symbol on the latex and here also shows a error ...
1
vote
1
answer
58
views
Pyomo IPOPT Collision Avoidance Violation
I am trying to use pyomo for nonlinear programming trajectory optimization.
I used simple UAV model to optimize for the minimum travel time trajectory from initial position to final position. I want ...
1
vote
2
answers
88
views
Changing colored cell in GridPane in JavaFX
I want to write code, that can do following:
Create 9*9 GridPane board that filled with 81 StackPanes.
When I click on cell (StackPane) I want to change color of background StackPane to blue if it ...
0
votes
0
answers
11
views
Problem with dataframe in tidysynth: synthetic_control() does not take time unit accordingly
I am trying to implement a synthetic control with the tidysynth package. I am using monthly data, ranging from January 1987 to Decembe 2002. The dataframe is in the long format and contains 14 units, ...
0
votes
2
answers
70
views
VB.NET Button Method not setting Visibility to True
In VB.NET Button click event I am unable to set Visible = true. In all examples in the code below the Control visible property is set to False although the code is setting it to True? Does anyone ...
0
votes
0
answers
23
views
Thread and function and listbox [duplicate]
I have just entered in topic of Threads and I'm beginner in this topic.
I have a problem with my program in runtime like this:
Cross-thread operation not valid: Control 'listBox1' accessed from a ...
0
votes
0
answers
24
views
WPF .net core 6 Image control does not work in .net core 6 [duplicate]
I created a new WPF C# desktop application in VS 2022 using .net core 6. For some reason the image shows in the designer but when the application is running it does not show. If I create a WPF C# ...
1
vote
2
answers
110
views
Delphi textlayout.textwidth and textheight not working, why?
I'm trying to learn how to use TTextLayout object to add some special characters to my graphic drawings.
Unfortunately this object seems having some special behaviours that seem not documented in ...
0
votes
0
answers
13
views
Form error when opening Accounting Period on Navision
The following error appears when I try to open a new Accounting Period for 2024.
It has never happened before and we have been using Navision for 20+ years.
"The form can`t recognize control 1&...
0
votes
1
answer
57
views
WPF C# GroupBox Control
I currently need to get the content information within the textbox(s) with a groupbox, these textbox(s) have same first five characters. I'm pretty new at WPF C# and have read a few posts about the ...
0
votes
0
answers
33
views
Correction: Multiple Hypothesis Testing - only for independent variables? (not for controls / intercepts)
I correct for multiple hypothesis testing because I test about 100 hypotheses parallel.
I will, for example, use the Benjamini and Hochberg correction as well as the more conservative Bonferroni ...
0
votes
0
answers
31
views
REACT Page Buttons Become Unresponsive
I have a REACT website that sits in an IFrame within another website. It works perfectly, but now I hear sometimes the buttons, textboxes and all other form controls become un-clickable or ...
0
votes
1
answer
36
views
Map Automatically pans away when using Measurement Plugin with Leaflet JS
I am trying to add Measurement Controls to my Leaflet Maps. For addressing the issue, I tried it on simplest map.
I created a simple map with Leaflet and added the Measurement Plugin. Now the problem ...
0
votes
0
answers
36
views
how to get a prediction output sequence of NARX model by MPC
two question:
now there are a NARX model: y(t)=y(y(t-1),y(t-2),u1(t-5),u1(t-6),u2(t-5),u2(t-6)), i have trained my network offline for identifing the plant, and the output of network is prediction ...
0
votes
0
answers
58
views
Is there a MATLAB function to count the number of encirclements of (-1, 0) when I have an FRD model?
I have an FRD model, and I am able to draw a Nyquist plot. I want to determine the number of encirclements of the critical point (-1, 0) in MATLAB.
I am attempting to use the real and imaginary parts ...
0
votes
1
answer
70
views
WPF binding to ElementName in DataTemplate works but in Style Setter not
Can anyone tell me why this code:
<Window.Resources>
<DataTemplate x:Key="Content_Test1">
<StackPanel Orientation="Horizontal">
...
0
votes
0
answers
15
views
Is MySQL access control policy DAC?
I have read in some tutorials that MySQL uses discretionary access control but I have tested that in MySQL the creator of an object is not the owner and does not have any privileges over it. So does ...
1
vote
0
answers
43
views
How can I access controls of form in another form
I'm working in a windows form application. I have two forms; in form A I have two picture box and in form B, I have a button. I want form B to show a message when I click on picturebox2 in form A and ...
0
votes
0
answers
22
views
How to change the rule set in the qcc R package for Control Charts / Statistical Process Control
This question is related to this one:
Implementing additional standard run rules with R and qcc
The user MS Berends was kind enough to provide the functions to the new rules. One example:
nelsonr1 <...
0
votes
0
answers
48
views
C# Winform Change the type of row for data grid view
There is a DataGridView component in C# Winform. It's easy to change the column type to checkbox or text. I wonder that how to change the row type like that?
I tried to find on the internet but there ...
2
votes
2
answers
34
views
How to use Complex conjugate in GEKKO
I have an optimal control problem with GEKKO. And I need take the complex conjugate of a variable. I know that GEKKO have method about .exp .log and so on, but I don't find the method about .conj
So ...
0
votes
1
answer
81
views
Logging to a dynamically created WinForms control using the configuration file with log4net
The case is as follows: I have created a custom control that represents a camera connection and its properties in which there is a ListBox. I instantiate this custom control dynamically at runtime. ...
0
votes
0
answers
11
views
rlocus block diagram issue, k gain block before or after the summing junction for rlocus() command?
desired block diagram
rlocus for the above transfer function should be pretty straight forward.
except on the help page of matlab the block diagrams look like this matlab help block diagrams
what am I ...
0
votes
1
answer
279
views
What's git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin master:master
I can't find any information in the internet for this. I'm using sourcetree. This link is the nearest I've found and it doesn't help : https://dev.to/shafia/support-for-password-authentication-was-...
0
votes
0
answers
46
views
C# UWP MediaPlayerElement customize TransportControls CCSelection with Choose Subtitle
In C# UWP i overrided the MediaPlayerElement's trasnportcontrol. I didn't find anything about how can i extend my code to add a button inside the CCSelectionButton's MenuFlyoutItem in order to be able ...
0
votes
1
answer
65
views
'AutoSize=true' panel height not adjusting when labels become multiline
I'm currently facing an issue with a panel in my C# WinForms application. The panel is docked at the top of the form with AutoSize set to True. Within this panel, I have a TableLayoutPanel also with ...
0
votes
1
answer
548
views
.NET Maui What is wrong with this custom control's bindable properties?
The next step in my exploration of .NET Maui is to create a simple custom control. So I created a custom control consisting of a button and a MediaElement, with two bindable properties, the text to ...
0
votes
2
answers
195
views
HTB overlimits traffic BW
I am using TC Linux HTB to limit traffic bandwidths in the egress interface.
For it, I've set the following instructions on a linux container:
tc qdisc add dev eth2 root handle 1: htb default 12
tc ...
0
votes
0
answers
195
views
How can i get rid of the error = " Control must be added to the page first." on flet python
Here is my complete code, it does not seem to be any other problem than when adding the table control to the page, because it is returning data to fill said table, only that when calling the function ...