Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
102 views

I'm subclassing TabPage in Winforms in order to implement additional behavior, and one of those changes is to add an * to the tab page's label text when the context inside the tab page changes. The ...
Léster's user avatar
  • 1,339
0 votes
1 answer
49 views

I'm conditionally making the background color of some cells green, yellow, or red. That works. However, every time I sort by a particular column, the cells temporarily revert to a white background ...
Christian Blackburn's user avatar
0 votes
2 answers
502 views

I'm trying to use a generic wrapper for different UIViewControllers (screens implemented in legacy part of the app in obj-c) and I hit a problem where SwiftUI doesn't redraw the view when the wrapped ...
Pavel Smejkal's user avatar
1 vote
1 answer
615 views

struct PlainTextPicker<T: Hashable>: View { @Binding var selection: T? let defaultString: String? var options: [T] var toLabel: (T) -> String // body Menu { ...
SeongHyeon LIm's user avatar
1 vote
1 answer
100 views

I changed recycle bin name by this code: HKEY recycleBinHKey; LPCSTR registrySubkey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\CLSID\\{645FF040-5081-101B-9F08-00AA002F954E}"; ...
Александр Шталдегер's user avatar
0 votes
0 answers
65 views

I have programmatically created NSButton as subviews of main window NSView, and wish to change button text color while some long processing is running. [myButton setAttributedTitle:colorTitle]; [...
ImageLite's user avatar
2 votes
1 answer
817 views

I have a simple chart generated with ApexCharts v3.45.1. This is on a single page application where when I fetch another page via an AJAX call, the original chart in the DOM is removed on purpose (...
Jack's user avatar
  • 33
0 votes
1 answer
83 views

The content of my application window is only updated when i change the window size. Details: I have a windows application written in c++ and compiled with mingw64. Within WinMain, i do a CreateWindowW ...
bongo's user avatar
  • 1
0 votes
1 answer
89 views

I'm trying to use chartjs(pie) to display some data on the screen. On the first load the screen works perfectly, but when trying to update the pie (using the same code in which it was created) it ...
Diego Sampaio's user avatar
3 votes
1 answer
223 views

I'm new in programming Windows Application, and I have simple window with some checkboxes, text and button. Everything seems to work as it should, but when I minimize the window and restore it again ...
Sigurður Sigurðsson's user avatar
4 votes
1 answer
1k views

I have the following view model: class ViewModel: ObservableObject { @Published var brightnessValue: Double = 0.0 @Published var saturationValue: Double = 0.0 @Published var contrastValue: ...
Paulo Mattos's user avatar
  • 19.4k
0 votes
1 answer
2k views

Here is a simple example of a more complex problem I'm having. In this case, I have an array of Objects, and a struct that holds the state for them. In the ContentView, I'm displaying a custom view, ...
Ashley Mills's user avatar
  • 53.6k
0 votes
0 answers
34 views

I use next code to save firebase records to my array list: List<PoIs> LocoList = new ArrayList<>(); DatabaseReference ref = FirebaseDatabase.getInstance().getReference("DATABASE"...
Nick's user avatar
  • 73
0 votes
0 answers
134 views

I am drawing a box with certain measurements and updating the angle at which it is viewed which I set as a double 'offset'. I am trying to get the view to change as I click a button to increase its ...
Christian Williams's user avatar
0 votes
0 answers
177 views

While debugging my stateful widget that reset its state, I was surprised to see it is called at each frame (I mean initState() and build() are called many times). I guess this is not OK and would like ...
Stéphane de Luca's user avatar
0 votes
1 answer
47 views

example.. <input type="button" value="click me" id="p1"> <script> document.querySelector("#p1").onclick = function () { this.style....
Alessandro Marchisio's user avatar
0 votes
0 answers
115 views

I draw a map with Javascript and leave the pictures of the players in each cell of this map. I've made good progress so far. Now I am zooming in and zooming out in this project. The length of the map ...
v-Cx's user avatar
  • 11
2 votes
0 answers
955 views

I've found a nice example of a force directed graph in d3.js version 7 that I wanted to extend: https://observablehq.com/@brunolaranjeira/d3-v6-force-directed-graph-with-directional-straight-arrow I ...
luhu's user avatar
  • 381
1 vote
1 answer
3k views

I'm new to flutter but I have a widget that wraps a custom painter. I am trying to get it to work so I can supply a Widget to this child widget's constructor and then use that widget as the child of ...
Hans Donkersloot's user avatar
-1 votes
1 answer
93 views

I use Vim-Airline plug in Vim, but statuline incomplete display after source .vimrc, so I want use :redraw! in augroup but it not take effect. augroup Vim autocmd! autocmd BufWritePost $MYVIMRC ++...
Clark Kent's user avatar
0 votes
1 answer
327 views

I'm using Highcharts to create organization charts that where each node can be collapsed when clicked as in provided example : http://jsfiddle.net/vegaelce/83uktasc/ It works well but it would be ...
vegaelce's user avatar
  • 153
0 votes
0 answers
725 views

I have a Vue3 component that renders tables based on model data. Then I add DataTables functionality to the table to be able to filter and sorting data. Everything works fine. But if I click on the ...
Čamo's user avatar
  • 4,413
2 votes
2 answers
409 views

I have a custom slider in a toolbar. In order to show the slider in the toolbar it is wrapped in a CMFCToolBarButton derived class. The slider uses OnCustomDraw to perform its rendering: ...
cbuchart's user avatar
  • 11.8k
1 vote
1 answer
123 views

I have problems with the redrawing of expanders in a TreeStore/TreeView. When I call Example::Customize() for the first time, I can see the expanders. When I call Example::Customize() for the second ...
Christian Reinbothe's user avatar
0 votes
1 answer
315 views

I recently started adding graphic charts to a MacOS application I wrote. The first chart is great and I added a second chart where I ran into a fundamental way the code operates that I did not/do not ...
Mooky's user avatar
  • 23
1 vote
0 answers
883 views

Here the existant : My IssueController Rx<GitlabIssue> selectedIssue = new GitlabIssue().obs; RxList<GitlabIssue> issues = <GitlabIssue>[].obs; void changeIssueState(GitlabIssueState ...
el_gars's user avatar
  • 11
0 votes
1 answer
992 views

This is the html code <highcharts-chart *ngIf="!isLoading" [Highcharts]="Highcharts" [options]="chartOptions" [(update)]="updateChart" style="width: 100%; height: 100%; display: block;...
Pattinson Mj's user avatar
0 votes
1 answer
47 views

I'm working on a PHP assignment and having trouble getting an ajax call to properly redraw. Everything almost works except I have this one line of code that keeps giving me errors: $line .= '<input ...
ravenUSMC's user avatar
  • 517
0 votes
1 answer
1k views

(premise: the (pseudo) code is in Rust, however, answers in any language are accepted, since the Rust SDL library mimics closely the standard one). I have a very minimal SDL2 template I use when I ...
Marcus's user avatar
  • 5,315
-1 votes
1 answer
110 views

I would like to plot one serie per chart, and in the end all the series together in one chart, but did not succeed. I'm asking for help. The code is simple and straight forward. Here is my code: The ...
gabriel's user avatar
0 votes
2 answers
323 views

I have a one MainExerseClass dart class. In which I have ImageSequenceAnimator and LinearPercentIndicator which should be restarted when control comes to the MainExerseClass dart by poping another ...
Poornima Vm's user avatar
0 votes
1 answer
2k views

I'm working on a custom interactive figure for electrophysiology data, anywhere from 10-400 lines (EEG or MEG data channels) plotted as a LineCollection with offsets. It is often useful to have a ...
drammock's user avatar
  • 2,573
0 votes
1 answer
2k views

I have a Table from react-bootstrap that displays a list of devices with several columns. I want to change this so you can reorder by the columns so I switched to BootstrapTable from react-bootstrap-...
parsley72's user avatar
  • 9,317
1 vote
1 answer
80 views

I'm currently working through 100 days of code in Swift UI and I'd like to think I'm 99% complete on my day 25 challenge. However, my brain is now a pink mush and I'm stumped. I'm trying to refresh (...
Aaron 's user avatar
  • 13
15 votes
2 answers
35k views

During debugging or computationally heavy loops, i would like to see how my data processing evolves (for example in a line plot or an image). In matplotlib the code can redraw / update the figure with ...
Jim's user avatar
  • 1,909
12 votes
2 answers
14k views

I am investigating the use of LiveChart within a WPF application for the purpose of plotting in real time, temperature measurements. I have put together a simple line chart example to read data at ...
user5265160's user avatar
2 votes
1 answer
273 views

How can I make this code update the google chart with new Ajax call data? When I submit from the dropdown list I see the updated data in the echoed results but the chart does not update. It seems like ...
Nissar's user avatar
  • 23
0 votes
1 answer
1k views

I use dart FFI to retrieve data from native side, and show the data with flutter CustomPaint. I use ValueNotifier to control CustomPaint repaint. Code: Poll data at a rate With a state class, I poll ...
kakyo's user avatar
  • 11.8k
3 votes
1 answer
7k views

Question What is the way to append data to an existing matplotlib line and plot only the added portion of the line without redrawing the whole line? Comments Following is a simple code that plots ...
pch's user avatar
  • 621
0 votes
0 answers
402 views

i'm playing around with SwiftUI and try to get correct screen size depending on orientation. The solution works fine in simulator on iPhone but lacks on iPad (i have no iPad for testing real). It ...
Enrico's user avatar
  • 198
4 votes
1 answer
2k views

TL;DR: Applying visual effects to the contents of a ScrollView causes thousands of requests for the same (unchanging) image for each drag gesture. Can I reduce this? (In my real app, I have 50-odd ...
Andrew Duncan's user avatar
0 votes
1 answer
360 views

I have a function that takes a little while to run, so I'm trying to set the display value of a div (that basically says "please wait") to "block" at the start of the function and then to "none" when ...
Ryan 's user avatar
  • 23
0 votes
1 answer
535 views

I am translating a JQuery-based app to Mithril. That app uses Dragula to allow drag/drop to reorder lists. Dragula reorders the li elements in the DOM. When the Drop event is fired, I sync the model ...
rupps's user avatar
  • 9,947
3 votes
2 answers
355 views

How do I redraw Shape with new data when this data is new "source of truth"? The following shows, that only "Text("...") view gets updated with the ObservedObject. The Shape draws itself only once. ...
matyasl's user avatar
  • 539
0 votes
1 answer
212 views

I'm working on a simple 3D maze game where the labirynth itself is gerenated automatically with each start. What I have so far is having the maze which is different with each run, having a character ...
chuck's user avatar
  • 63
1 vote
0 answers
211 views

I have the following code for my windows forms application and I have issues with redrawing a bitmap on screen after screen is refreshed. I tried using a timer to draw the bitmap on screen but i got ...
Mohammad Zamanian's user avatar
0 votes
1 answer
992 views

I am building following chart https://jsfiddle.net/marialaustsen/x1s9ndm3/11/ I am trying to create a click function for the All button, but instead of hide the other series and show only one serie, ...
marialaustsen's user avatar
1 vote
0 answers
40 views

I have excel.exe process now from that process i got the hWnd of that opened excel.exe. Now I want to redraw that opened excel worksheet. So i use this code to force redraw whole window , So I can ...
ginoyaha's user avatar
-1 votes
1 answer
279 views

I have been trying to get this code to work for weeks and cannot figure out the issue. I have a list of images, that I am using to animate my character. THe game worked fine at first, but ever since I ...
User's user avatar
  • 53
2 votes
1 answer
4k views

I have animations working and a Timer. I understand that the Timer is the best way to get the Second Ticks ticking at exactly the second mark. For Animations I have used both AnimationController and ...
Derek Davidson's user avatar

1
2 3 4 5
8