Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
287 views

I'm trying to create a CKEditor that is read-only but allows source view. When I use CKEditor's read-only mode, the source editing plugin gets disabled. I'm looking for an easy way to do this, I don't ...
Tom's user avatar
  • 93
0 votes
1 answer
529 views

I have a request form my customer that they want access to my organization's DevOps board to monitor the progress of work items in each sprint. Is there an option to provide READ-ONLY access to ...
MySocialMedia Account's user avatar
-4 votes
2 answers
285 views

I'm looking for a way to check for a read-only file's existence without opening it. I've tried: if (std::filesystem::exists("C:\\Windows\\System32\\hal.dll")) { std::cout << "...
johnrollins's user avatar
0 votes
0 answers
74 views

So, I have this console (from Beijer - uses ixDeveloper) and it uses CF 3.5. It is somewhat limited, so I am trying to do what I can with scripts (in C#). Right now, I have an Excel file regarding an ...
Miguel Pina's user avatar
9 votes
1 answer
9k views

I try to mock readonly class from PHP 8.2 in PHPUnit and got next error: Symfony\Component\ErrorHandler\Error\FatalError^ {#7 #message: "Compile Error: Non-readonly class Mock_Provider_f80b7c4d ...
Vitali Labatsevich's user avatar
0 votes
1 answer
471 views

I am trying to create a read only VirtualFileSystemFactory for a custom sftp server using Apache Mina SSHD library. I have searched a lot but it seems that I cant find the solution to this problem. IS ...
Thanasis B's user avatar
1 vote
0 answers
115 views

I'm trying to define a shared memory for IPC across two processes on an embedded device where the root is readonly. It appears that this condition does not allow the creation. How can I create a ...
DDS's user avatar
  • 2,480
0 votes
1 answer
1k views

Is there any way to enforce an object parameter cannot be changed in typescript, e.g. interface MyType { prop1: number } function myMethod(param: readonly MyType) { // I want TS complain here: ...
mehran's user avatar
  • 1,494
0 votes
1 answer
632 views

before Php 8.1 we could wrote that: abstract class Base { private $thing; public function __construct($thing) { $this->thing = $thing; } protected function getThing() ...
John Smith's user avatar
  • 6,259
0 votes
0 answers
44 views

I have the following function 'Foo': int Foo(List<int> list, int value) { int i1 = list.IndexOf(value); int i2 = list.LastIndexOf(value); return i2 - i1; } List<int> list = new List&...
hzfsls's user avatar
  • 1
0 votes
3 answers
865 views

When we build an executable, and it gets loaded into RAM, my understanding is that the .text and .ro setions should be loaded into read-only memory locations. With an operating system and a virtual ...
Engineer999's user avatar
  • 4,159
0 votes
1 answer
355 views

I have tried many methods, some from How to remove read-only attrib directory with Python in Windows? but none work. Still getting the WinError Access Denied message. Simply need to access a file ...
3Dprog's user avatar
  • 11
1 vote
1 answer
203 views

I have a QCompleter for a QLineEdit and it's working fine. All I want is for this completer to be only read-only. So the user can only see the matches but cannot select any one of them. No ...
Mian's user avatar
  • 161
0 votes
1 answer
2k views

I need to create a function batchUsers which takes a readonly string as a parameter to create a DataLoader. In my batchUsers function I need to call a function (User.findby) which has defined its ...
sev's user avatar
  • 1,912
2 votes
1 answer
510 views

public class ParentClass { [Key] [StringLength(80)] public string ID { get; set; } = string.Empty; [StringLength(80)] public string ChildID { get; set; } = ...
Razzupaltuff's user avatar
  • 2,309
2 votes
1 answer
589 views

I'm trying to create read-only interfaces in TS, and here is an example I've tried with the readonly modifier propagating into subtypes: type JsonDatum = | string | boolean | number | readonly ...
psygo's user avatar
  • 7,853
6 votes
0 answers
2k views

I am trying to make readonly, but not disable, all types of form element only using css and html (i.e. no javascript). Some things (like inputs) are easy - the readonly attribute on the input does it. ...
Ben Holness's user avatar
  • 2,745
1 vote
0 answers
30 views

const ReadOnlyStrings = ['a', 'b', 'c'] as const; const fn = (key: string)=>{ ReadOnlyStrings.includes(key); } Errors in code: Argument of type 'string' is not assignable to parameter of type '&...
spLiu's user avatar
  • 11
1 vote
1 answer
64 views

found the following code: Alle Controls einer Form auf Readonly setzen But how have my Control.ControlCollection look like that I can use this method? I tried the following but it is not working: ...
Jocelyn's user avatar
  • 153
0 votes
2 answers
750 views

i have some fields in my form, which are like below: $(document).on("change", ".qty2", function() { var sum1 = 0; $(".qty2").each(function() { sum1 += +$(this).val(); }); $("#subtotal")...
ZNO's user avatar
  • 191
1 vote
1 answer
434 views

I wrote this code to make read only field, but i want to make an exception that if there is value then that row will only readonly , and if there is not any value the it will be editable, model.py ...
Yen's user avatar
  • 135
1 vote
1 answer
1k views

How can I override readonly property of a Swift superclass, from a subclass, to make the property read-write? I want to do that, because that is what the iOS UIResponder documentation says is required....
clearlight's user avatar
  • 12.7k
0 votes
0 answers
65 views

I am going to change the property of Richedit into "read-only" property. And no user will be able to type in the Richedit. Unless they scan their ID. My question is how am I going to scan an ...
PJiwon's user avatar
  • 60
-1 votes
1 answer
71 views

I'm trying to get my head around this. What's the difference between these 4? 1. private ObservableCollection<T> _myObservableCollestionOfTs 2. private readonly ObservableCollection<T> ...
Leo Gee's user avatar
  • 43
1 vote
1 answer
157 views

I have a PHP application with a code path which is only triggered if a specified file is read-only. If the file is readable and writeable another code path is taken. In particular, I am struggling ...
user2690527's user avatar
  • 1,931

1
2
3 4 5
33